hack to work on pypy by https://github.com/Guilherme32 from https://github.com/electronstudio/raylib-python-cffi/pull/39
This commit is contained in:
parent
0e02f9d1bd
commit
84fd32b44e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def makeStructHelper(struct):
|
||||||
for name, attr in getmembers(rl):
|
for name, attr in getmembers(rl):
|
||||||
#print(name, attr)
|
#print(name, attr)
|
||||||
uname = inflection.underscore(name).replace('3_d','_3d').replace('2_d','_2d')
|
uname = inflection.underscore(name).replace('3_d','_3d').replace('2_d','_2d')
|
||||||
if isbuiltin(attr):
|
if isbuiltin(attr) or str(type(attr)) == "<class '_cffi_backend.__FFIFunctionWrapper'>":
|
||||||
#print(attr.__call__)
|
#print(attr.__call__)
|
||||||
#print(attr.__doc__)
|
#print(attr.__doc__)
|
||||||
#print(attr.__text_signature__)
|
#print(attr.__text_signature__)
|
||||||
|
|
Reference in a new issue