Use slice length instead of asking for it from the callee on some functions (#50)

This commit is contained in:
Not-Nik 2023-08-18 00:58:13 +02:00
parent 976fe48484
commit cd66693011
Failed to generate hash of commit
3 changed files with 92 additions and 45 deletions

View file

@ -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: