aboutsummaryrefslogtreecommitdiff
path: root/bindgen
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-02-19 17:06:38 +0100
committerAndre Weissflog <floooh@gmail.com>2024-02-19 17:06:38 +0100
commit1dbb7df62b8ba12ef553c7705c0e408d087f9893 (patch)
treecb851ab71b9bb2b05d2c14d6a77146442316e953 /bindgen
parent1b040b7c3202cdff80b301cfaad1621bcf011474 (diff)
gen_odin.py: add sokol_glue.h as regular module, remove cruft
Diffstat (limited to 'bindgen')
-rw-r--r--bindgen/gen_odin.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bindgen/gen_odin.py b/bindgen/gen_odin.py
index 95cc8700..fafa89c4 100644
--- a/bindgen/gen_odin.py
+++ b/bindgen/gen_odin.py
@@ -21,6 +21,7 @@ module_names = {
'sgl_': 'gl',
'sdtx_': 'debugtext',
'sshape_': 'shape',
+ 'sglue_': 'glue',
}
system_libs = {
@@ -75,6 +76,7 @@ c_source_names = {
'sgl_': 'sokol_gl.c',
'sdtx_': 'sokol_debugtext.c',
'sshape_': 'sokol_shape.c',
+ 'sglue_': 'sokol_glue.c',
}
ignores = [
@@ -87,10 +89,6 @@ ignores = [
# NOTE: syntax for function results: "func_name.RESULT"
overrides = {
'context': 'ctx', # reserved keyword
- 'sapp_sgcontext': 'sapp_sgctx',
- 'sapp_sgcontext': 'sapp_sgctx',
- 'sg_context_desc.color_format': 'int',
- 'sg_context_desc.depth_format': 'int',
'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR',
}