aboutsummaryrefslogtreecommitdiff
path: root/bindgen
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-12-06 14:56:34 +0100
committerAndre Weissflog <floooh@gmail.com>2025-12-06 14:56:34 +0100
commitea9f4c53fecdfc87b91a9cec82f5631c7b8362ec (patch)
treef32fdf7da753c9c4c407fe43d6a1c1d99a9ec266 /bindgen
parent810d8dcce110518b53761b3c8188c6fa57c9e8f5 (diff)
bindgen: add sokol_gfx_imgui.h to sokol-zig bindings
Diffstat (limited to 'bindgen')
-rw-r--r--bindgen/gen_all.py3
-rw-r--r--bindgen/gen_zig.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py
index 3f75fd01..83c6df9b 100644
--- a/bindgen/gen_all.py
+++ b/bindgen/gen_all.py
@@ -39,6 +39,7 @@ zig_tasks = [
*tasks,
[ '../sokol_fetch.h', 'sfetch_', [] ],
[ '../util/sokol_imgui.h', 'simgui_', ['sg_', 'sapp_'] ],
+ [ '../util/sokol_gfx_imgui.h', 'sgimgui_', [] ],
]
gen_zig.prepare()
for task in zig_tasks:
@@ -77,4 +78,4 @@ for task in tasks:
gen_c3.prepare()
for task in tasks:
[c_header_path, main_prefix, dep_prefixes] = task
- gen_c3.gen(c_header_path, main_prefix, dep_prefixes) \ No newline at end of file
+ gen_c3.gen(c_header_path, main_prefix, dep_prefixes)
diff --git a/bindgen/gen_zig.py b/bindgen/gen_zig.py
index 8305b8b0..ba3168e1 100644
--- a/bindgen/gen_zig.py
+++ b/bindgen/gen_zig.py
@@ -24,6 +24,7 @@ module_names = {
'sglue_': 'glue',
'sfetch_': 'fetch',
'simgui_': 'imgui',
+ 'sgimgui_': 'sgimgui',
}
c_source_paths = {
@@ -38,6 +39,7 @@ c_source_paths = {
'sglue_': 'sokol-zig/src/sokol/c/sokol_glue.c',
'sfetch_': 'sokol-zig/src/sokol/c/sokol_fetch.c',
'simgui_': 'sokol-zig/src/sokol/c/sokol_imgui.c',
+ 'sgimgui_': 'sokol-zig/src/sokol/c/sokol_gfx_imgui.c',
}
ignores = [