Make rlGetProcAddress return ?*const anyopaque (#312)

This commit is contained in:
Nikolas 2026-04-08 16:24:18 +02:00
parent 487e059598
commit 35d26ddef9
Failed to generate hash of commit
3 changed files with 5 additions and 2 deletions

View file

@ -247,6 +247,9 @@ def fix_pointer(name: str, t: str):
t = "*anyopaque"
elif len(pre) == 0:
t = t.replace("const ", "")
if name == "rlGetProcAddress":
t = "?*const anyopaque"
return name, t