Skip to content

Commit

Permalink
Merge pull request #1187 from kassane/d-bindgen-fixes
Browse files Browse the repository at this point in the history
D bindgen: add memtrack and fix fetch update
  • Loading branch information
floooh authored Jan 12, 2025
2 parents 6fe7556 + 0cc85f0 commit 7b5b512
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindgen/gen_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions bindgen/gen_d.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'sglue_': 'glue',
'sfetch_': 'fetch',
'simgui_': 'imgui',
'smemtrack_': 'memtrack',
}

c_source_paths = {
Expand All @@ -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 = [
Expand Down

0 comments on commit 7b5b512

Please sign in to comment.