hack stub files because enum from Physac isn't recognised by raylib header parser
This commit is contained in:
parent
11c5b1a728
commit
f551fca1f3
6 changed files with 6 additions and 0 deletions
|
@ -35,3 +35,4 @@ print("""from enum import IntEnum
|
||||||
process("raylib.json")
|
process("raylib.json")
|
||||||
process("raygui.json")
|
process("raygui.json")
|
||||||
process("glfw3.json")
|
process("glfw3.json")
|
||||||
|
process("physac.json")
|
||||||
|
|
|
@ -83,6 +83,7 @@ from warnings import deprecated
|
||||||
import _cffi_backend # type: ignore
|
import _cffi_backend # type: ignore
|
||||||
|
|
||||||
ffi: _cffi_backend.FFI
|
ffi: _cffi_backend.FFI
|
||||||
|
PhysicsShapeType = int
|
||||||
""")
|
""")
|
||||||
|
|
||||||
# These words can be used for c arg names, but not in python
|
# These words can be used for c arg names, but not in python
|
||||||
|
|
|
@ -74,6 +74,7 @@ import _cffi_backend # type: ignore
|
||||||
|
|
||||||
ffi: _cffi_backend.FFI
|
ffi: _cffi_backend.FFI
|
||||||
rl: _cffi_backend.Lib
|
rl: _cffi_backend.Lib
|
||||||
|
PhysicsShapeType = int
|
||||||
|
|
||||||
class struct: ...
|
class struct: ...
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ import _cffi_backend # type: ignore
|
||||||
|
|
||||||
ffi: _cffi_backend.FFI
|
ffi: _cffi_backend.FFI
|
||||||
rl: _cffi_backend.Lib
|
rl: _cffi_backend.Lib
|
||||||
|
PhysicsShapeType = int
|
||||||
|
|
||||||
class struct: ...
|
class struct: ...
|
||||||
|
|
||||||
|
|
|
@ -908,6 +908,7 @@ from warnings import deprecated
|
||||||
import _cffi_backend # type: ignore
|
import _cffi_backend # type: ignore
|
||||||
|
|
||||||
ffi: _cffi_backend.FFI
|
ffi: _cffi_backend.FFI
|
||||||
|
PhysicsShapeType = int
|
||||||
|
|
||||||
def attach_audio_mixed_processor(processor: Any,) -> None:
|
def attach_audio_mixed_processor(processor: Any,) -> None:
|
||||||
"""Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'."""
|
"""Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'."""
|
||||||
|
|
|
@ -4,6 +4,7 @@ import _cffi_backend # type: ignore
|
||||||
|
|
||||||
ffi: _cffi_backend.FFI
|
ffi: _cffi_backend.FFI
|
||||||
rl: _cffi_backend.Lib
|
rl: _cffi_backend.Lib
|
||||||
|
PhysicsShapeType = int
|
||||||
|
|
||||||
class struct: ...
|
class struct: ...
|
||||||
|
|
||||||
|
|
Reference in a new issue