try
This commit is contained in:
parent
62ff73d0e7
commit
be6cf57d85
65 changed files with 8668 additions and 4495 deletions
|
@ -63,8 +63,6 @@ def ctype_to_python_type(t):
|
|||
print("""from typing import Any
|
||||
|
||||
|
||||
def pointer(struct):
|
||||
...
|
||||
""")
|
||||
|
||||
# These words can be used for c arg names, but not in python
|
||||
|
@ -137,7 +135,7 @@ for struct in ffi.list_types()[0]:
|
|||
# elif ffi.typeof(struct).kind == "enum":
|
||||
# print(f"{struct}: int")
|
||||
else:
|
||||
print("ERROR UNKNOWN TYPE", ffi.typeof(struct), file=sys.stderr)
|
||||
print("WARNING: SKIPPING UNKNOWN TYPE", ffi.typeof(struct), file=sys.stderr)
|
||||
|
||||
print("""
|
||||
LIGHTGRAY : Color
|
||||
|
|
Reference in a new issue