aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindgen/gen_zig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/gen_zig.py b/bindgen/gen_zig.py
index 8fce0885..d14145f0 100644
--- a/bindgen/gen_zig.py
+++ b/bindgen/gen_zig.py
@@ -301,7 +301,7 @@ def funcptr_args_c(field_type, prefix):
if s != "":
s += ", "
c_arg = as_c_arg_type(arg_type, prefix)
- if (c_arg == "void"):
+ if c_arg == "void":
return ""
else:
s += c_arg