diff options
| author | Trace Andreason <tandreason@gmail.com> | 2024-05-14 11:28:28 -0700 |
|---|---|---|
| committer | Trace Andreason <tandreason@gmail.com> | 2024-05-14 11:28:28 -0700 |
| commit | 91cb0f9d58372d78c9656d401e27e4fe135dc119 (patch) | |
| tree | 734ba85fe37a120923f0ec6014f96ec296c7b5aa /bindgen/gen_all.py | |
| parent | 0c8d43ea8e16025374dc5d92b1f3c54e306e8704 (diff) | |
fetch only zig
Diffstat (limited to 'bindgen/gen_all.py')
| -rw-r--r-- | bindgen/gen_all.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py index 307213c2..4ddd339f 100644 --- a/bindgen/gen_all.py +++ b/bindgen/gen_all.py @@ -7,7 +7,6 @@ tasks = [ [ '../sokol_glue.h', 'sglue_', ['sg_'] ], [ '../sokol_time.h', 'stm_', [] ], [ '../sokol_audio.h', 'saudio_', [] ], - [ '../sokol_fetch.h', 'sfetch_', [] ], [ '../util/sokol_gl.h', 'sgl_', ['sg_'] ], [ '../util/sokol_debugtext.h', 'sdtx_', ['sg_'] ], [ '../util/sokol_shape.h', 'sshape_', ['sg_'] ], @@ -26,8 +25,12 @@ for task in tasks: gen_nim.gen(c_header_path, main_prefix, dep_prefixes) # Zig +zig_tasks = [ + *tasks, + [ '../sokol_fetch.h', 'sfetch_', [] ], +] gen_zig.prepare() -for task in tasks: +for task in zig_tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_zig.gen(c_header_path, main_prefix, dep_prefixes) |