Ver Fonte

gen_zig.py: minor code cleanup

Andre Weissflog há 3 anos atrás
pai
commit
f9427e5fbd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      bindgen/gen_zig.py

+ 1 - 1
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