SpexGuy / Zig-ImGui

Zig bindings for ocornut/imgui, generated using cimgui/cimgui
MIT License
92 stars 20 forks source link

?fn(?*anyopaque) callconv(.C) error with zig-imgui causes test failure #11

Open BlueAlmost opened 1 year ago

BlueAlmost commented 1 year ago

I believe changing file generate.py (and generate.bat) in the function pointer section (line 499 in generate.py) should be changed from:

return '?fn ...

to

return '*const ?fn ...

jeffbdavenport commented 1 year ago

Can we get this changed? Seems right to me as well