change bools to ints because windows compiler incorrectly says C bools are 1 byte when they should be 4

This commit is contained in:
electronstudio 2019-07-03 10:21:56 +01:00
parent 9be6e97073
commit ff8f9f71b5
6 changed files with 1619 additions and 1623 deletions

View file

@ -3,7 +3,7 @@
from cffi import FFI
ffibuilder = FFI()
ffibuilder.cdef(open("../raylib_modified.h").read().replace('RLAPI ', ''))
ffibuilder.cdef(open("../raylib_modified.h").read().replace('RLAPI ', '').replace('bool','int'))
ffibuilder.set_source("_raylib_cffi",
"""
#include "../raylib.h"