Use slice length instead of asking for it from the callee on some functions (#50)
This commit is contained in:
parent
976fe48484
commit
cd66693011
3 changed files with 92 additions and 45 deletions
|
|
@ -255,7 +255,18 @@ def parse_header(header_name: str, output_file: str, ext_file: str, prefix: str,
|
|||
"DecompressData",
|
||||
"EncodeDataBase64",
|
||||
"DecodeDataBase64",
|
||||
"SetWindowIcons"
|
||||
"SetWindowIcons",
|
||||
"DrawLineStrip",
|
||||
"DrawTriangleFan",
|
||||
"DrawTriangleStrip",
|
||||
"CheckCollisionPointPoly",
|
||||
"LoadFontEx",
|
||||
"GenImageFontAtlas",
|
||||
"UnloadFontData",
|
||||
"DrawTextCodepoints",
|
||||
"LoadUTF8",
|
||||
"TextJoin",
|
||||
"DrawTriangleStrip3D",
|
||||
]
|
||||
|
||||
if func_name in manual or "FromMemory" in func_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue