Blatant copy rcorre's 'Fix SetShaderValue and port rlights.'

This commit is contained in:
Not-Nik 2021-07-25 02:19:01 +02:00
parent 3e6462d3af
commit bc85894992
Failed to generate hash of commit
7 changed files with 342 additions and 21 deletions

View file

@ -36,6 +36,9 @@ def fix_pointer(name: str, t: str):
pre += "[*c]"
if len(pre) != 0:
t = pre + "const " + t
if t == "[*c]const void":
t = "*const c_void"
return name, t