aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-09-02 16:46:10 +0200
committerAndre Weissflog <floooh@gmail.com>2024-09-02 16:46:10 +0200
commitdf71cc24cb273c0cf68ccef91932c09893006b18 (patch)
treec79a3b4c78a8efa625235db0e9bca2d46843fc5e
parentc28138a2103b09a6545868d4bd271277170a1165 (diff)
sokol-d bindings: sokol_imgui.h wasn't actually included in the bindings generation
-rw-r--r--bindgen/gen_all.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py
index 6800909a..385d1f54 100644
--- a/bindgen/gen_all.py
+++ b/bindgen/gen_all.py
@@ -42,8 +42,12 @@ for task in zig_tasks:
gen_zig.gen(c_header_path, main_prefix, dep_prefixes)
# D
+d_tasks = [
+ *tasks,
+ [ '../util/sokol_imgui.h', 'simgui_', ['sg_', 'sapp_'] ],
+]
gen_d.prepare()
-for task in tasks:
+for task in d_tasks:
[c_header_path, main_prefix, dep_prefixes] = task
gen_d.gen(c_header_path, main_prefix, dep_prefixes)