Update generate_functions.py
This commit is contained in:
parent
813cdfe4f3
commit
c26f12bc9a
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue