raylib 5.5.0.0.dev3__cp310-cp310-win_amd64.whl → 5.5.0.1__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of raylib might be problematic. Click here for more details.
- pyray/__init__.py +3 -4
- pyray/__init__.pyi +3941 -3799
- pyray/py.typed +0 -0
- raylib/__init__.py +8 -2
- raylib/__init__.pyi +1116 -834
- raylib/_raylib_cffi.cp310-win_amd64.pyd +0 -0
- raylib/build.py +4 -2
- raylib/defines.py +1 -7
- raylib/enums.py +0 -1
- raylib/py.typed +0 -0
- raylib/raylib.h.modified +42 -35
- raylib/raymath.h.modified +4 -2
- raylib/rlgl.h.modified +7 -7
- raylib/version.py +1 -1
- {raylib-5.5.0.0.dev3.dist-info → raylib-5.5.0.1.dist-info}/METADATA +64 -32
- raylib-5.5.0.1.dist-info/RECORD +24 -0
- {raylib-5.5.0.0.dev3.dist-info → raylib-5.5.0.1.dist-info}/WHEEL +1 -1
- raylib-5.5.0.0.dev3.dist-info/RECORD +0 -22
- {raylib-5.5.0.0.dev3.dist-info → raylib-5.5.0.1.dist-info}/LICENSE +0 -0
- {raylib-5.5.0.0.dev3.dist-info → raylib-5.5.0.1.dist-info}/top_level.txt +0 -0
pyray/__init__.py
CHANGED
|
@@ -29,9 +29,8 @@ current_module = __import__(__name__)
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
def _underscore(word: str) -> str:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"""
|
|
32
|
+
word = re.sub('2D$', '_2d', word)
|
|
33
|
+
word = re.sub('3D$', '_3d', word)
|
|
35
34
|
word = re.sub(r"([A-Z]+)([A-Z][a-z])", r'\1_\2', word)
|
|
36
35
|
word = re.sub(r"([a-z\d])([A-Z])", r'\1_\2', word)
|
|
37
36
|
word = word.replace("-", "_")
|
|
@@ -136,7 +135,7 @@ def _make_struct_constructor_function(struct):
|
|
|
136
135
|
|
|
137
136
|
for name, attr in getmembers(rl):
|
|
138
137
|
# print(name, attr)
|
|
139
|
-
uname = _underscore(name)
|
|
138
|
+
uname = _underscore(name)
|
|
140
139
|
if isbuiltin(attr) or str(type(attr)) == "<class '_cffi_backend.__FFIFunctionWrapper'>" or str(
|
|
141
140
|
type(attr)) == "<class '_cffi_backend._CDataBase'>":
|
|
142
141
|
# print(attr.__call__)
|