mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 12:07:27 +00:00
Update generate_functions.py
This commit is contained in:
parent
813cdfe4f3
commit
c26f12bc9a
@ -13,6 +13,8 @@ def c_to_zig_type(t: str) -> str:
|
|||||||
t = t.replace("const ", "")
|
t = t.replace("const ", "")
|
||||||
if t == "float":
|
if t == "float":
|
||||||
t = "f32"
|
t = "f32"
|
||||||
|
if t == "double":
|
||||||
|
t = "f64"
|
||||||
if t == "int":
|
if t == "int":
|
||||||
t = "c_int"
|
t = "c_int"
|
||||||
if t == "unsigned int":
|
if t == "unsigned int":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user