change bools to ints because windows compiler incorrectly says C bools are 1 byte when they should be 4
This commit is contained in:
parent
9be6e97073
commit
ff8f9f71b5
6 changed files with 1619 additions and 1623 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue