diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-06-27 19:20:25 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-07-12 19:40:04 +0200 |
| commit | ca91acb03bcea2ec14a49baa939dc37ad868b768 (patch) | |
| tree | 116d924ba14c8358e32038d5628c3dd16ec19a61 /bindgen/gen_all.py | |
| parent | a902d73c9109159bd041bbe6a14d3afe54629dfa (diff) | |
start with odin bindings
Diffstat (limited to 'bindgen/gen_all.py')
| -rw-r--r-- | bindgen/gen_all.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bindgen/gen_all.py b/bindgen/gen_all.py index 112ca8fc..2f514b3b 100644 --- a/bindgen/gen_all.py +++ b/bindgen/gen_all.py @@ -1,4 +1,4 @@ -import os, gen_nim, gen_zig +import os, gen_nim, gen_zig, gen_odin tasks = [ [ '../sokol_gfx.h', 'sg_', [] ], @@ -11,6 +11,14 @@ tasks = [ [ '../util/sokol_shape.h', 'sshape_', ['sg_'] ], ] +# Odin +gen_odin.prepare() +for task in tasks: + c_header_path = task[0] + main_prefix = task[1] + dep_prefixes = task[2] + gen_odin.gen(c_header_path, main_prefix, dep_prefixes) + # Nim gen_nim.prepare() for task in tasks: |