Преглед на файлове

sokol-d bindings: sokol_imgui.h wasn't actually included in the bindings generation

Andre Weissflog преди 1 година
родител
ревизия
df71cc24cb
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      bindgen/gen_all.py

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