diff options
| author | Matheus Catarino <matheus-catarino@hotmail.com> | 2025-01-12 12:30:34 -0300 |
|---|---|---|
| committer | Matheus Catarino <matheus-catarino@hotmail.com> | 2025-01-12 12:30:34 -0300 |
| commit | 0792395930149c4e19f87faf0a80e3e7a352b153 (patch) | |
| tree | d12d67e8c09513439f5e5e6f0f1320d7c87b8012 /bindgen | |
| parent | 02728b7e2a7bc72df3efa68b8da4c895c93d6c58 (diff) | |
some changes
* fix fetch update
* add memtrack
Diffstat (limited to 'bindgen')
| -rw-r--r-- | bindgen/gen_all.py | 2 | ||||
| -rw-r--r-- | bindgen/gen_d.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py index 385d1f54..45a969b1 100644 --- a/bindgen/gen_all.py +++ b/bindgen/gen_all.py @@ -44,6 +44,8 @@ for task in zig_tasks: # 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 a9d94601..86851c63 100644 --- a/bindgen/gen_d.py +++ b/bindgen/gen_d.py @@ -26,6 +26,7 @@ module_names = { 'sglue_': 'glue', 'sfetch_': 'fetch', 'simgui_': 'imgui', + 'smemtrack_': 'memtrack', } c_source_paths = { @@ -40,6 +41,7 @@ c_source_paths = { '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 = [ @@ -91,6 +93,7 @@ prim_types = { prim_defaults = { 'int': '0', 'bool': 'false', + 'char': '0', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', |