diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py index 385d1f549..45a969b1f 100644 --- a/bindgen/gen_all.py +++ b/bindgen/gen_all.py @@ -44,6 +44,8 @@ # D d_tasks = [ *tasks, + [ '../sokol_fetch.h', 'sfetch_', [] ], + [ '../util/sokol_memtrack.h', 'smemtrack_', [] ], [ '../util/sokol_imgui.h', 'simgui_', ['sg_', 'sapp_'] ], ] gen_d.prepare() diff --git a/bindgen/gen_d.py b/bindgen/gen_d.py index a9d946013..f7e575037 100644 --- a/bindgen/gen_d.py +++ b/bindgen/gen_d.py @@ -26,6 +26,7 @@ 'sglue_': 'glue', 'sfetch_': 'fetch', 'simgui_': 'imgui', + 'smemtrack_': 'memtrack', } c_source_paths = { @@ -40,6 +41,7 @@ 'sglue_': 'sokol-d/src/sokol/c/sokol_glue.c', 'sfetch_': 'sokol-d/src/sokol/c/sokol_fetch.c', 'simgui_': 'sokol-d/src/sokol/c/sokol_imgui.c', + 'smemtrack_': 'sokol-d/src/sokol/c/sokol_memtrack.c', } ignores = [