diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-07-17 11:36:41 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-07-17 11:36:41 +0200 |
| commit | f9427e5fbddbeb30271409817f7cd97acc0dbfab (patch) | |
| tree | 4cea2dc067b7615548149afb7cf21921242b21e8 /bindgen | |
| parent | 2ca5d33289a450a1ef8bd2bbd8e00e90aa401321 (diff) | |
gen_zig.py: minor code cleanup
Diffstat (limited to 'bindgen')
| -rw-r--r-- | bindgen/gen_zig.py | 2 |
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 |