| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | use addr instead | Pixeller | 2023-06-23 | 1 | -2/+2 |
| | | | | | | warning:: `unsafeAddr` is a deprecated alias for `addr`, use `addr` instead. | ||||
| * | gen_nim.py: add new sg_load_action and sg_store_action name special cases | Andre Weissflog | 2023-05-19 | 1 | -0/+2 |
| | | |||||
| * | gen_rust.py: special case SAPP_MODIFIER_* constants to u32 (fixes ↵ | Andre Weissflog | 2023-03-31 | 1 | -2/+9 |
| | | | | | https://github.com/floooh/sokol-rust/issues/5) | ||||
| * | Integrate automatic sokol-rust bindings generation. (#811) | Andre Weissflog | 2023-03-29 | 3 | -10/+897 |
| | | |||||
| * | add sokol_log.h to nim bindings | Andre Weissflog | 2023-02-12 | 1 | -15/+27 |
| | | |||||
| * | add sokol_log.h to odin bindings generator | Andre Weissflog | 2023-02-12 | 1 | -0/+2 |
| | | |||||
| * | add sokol_log.h to zig bindings | Andre Weissflog | 2023-02-11 | 2 | -23/+35 |
| | | |||||
| * | gen_zig.py: remove obsolete stage1 check | kcbanner | 2023-01-03 | 1 | -4/+1 |
| | | |||||
| * | gen_zig.py: remove obsolete std.meta import | Andre Weissflog | 2023-01-03 | 1 | -1/+0 |
| | | |||||
| * | gen_zig.py: change to stage2 fnptr syntax | kcbanner | 2023-01-01 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'zig-0.10.0' | Andre Weissflog | 2022-11-03 | 2 | -2/+8 |
| |\ | |||||
| | * | Merge branch 'master' of github.com:kcbanner/sokol into zig-0.10.0 | Andre Weissflog | 2022-10-16 | 2 | -2/+8 |
| | |\ | |||||
| | | * | gen_zig.py: use meta.FnPtr instead of a switch | kcbanner | 2022-08-28 | 1 | -2/+2 |
| | | | | |||||
| | | * | gen_zig.py: add compile time branches for stage2 support | kcbanner | 2022-08-27 | 2 | -2/+8 |
| | | | | |||||
| * | | | Fix language bindings: | Andre Weissflog | 2022-11-03 | 4 | -187/+123 |
| | | | | | | | | | | | | | | | | - clang-14 ast-dump has changed for array types, fix works both for new and old format - start moving common helper functions into gen_util.py | ||||
| * | | | bindings generation: dump intermediate JSON for easier debugging | Andre Weissflog | 2022-11-03 | 1 | -0/+2 |
| | | | | |||||
| * | | | gen_nim.py: fix case warnings in nim 1.6.8 | Andre Weissflog | 2022-10-18 | 1 | -4/+4 |
| |/ / | |||||
| * / | Remove wrapper procs for Odin bindings. Use c.int type (#719) | Phil H | 2022-10-16 | 1 | -70/+28 |
| |/ | | | | | | | | | * gen odin bindings without wrapper procs * use c.int * remove unused gen procs * use #any_int for binding c.int parameters | ||||
| * | gen_odin.py: add pthread to linux system libraries | Andre Weissflog | 2022-08-02 | 1 | -3/+3 |
| | | |||||
| * | gen_odin.py: add dl to linux system libraries | Andre Weissflog | 2022-08-02 | 1 | -1/+1 |
| | | |||||
| * | gen_odin.py: fix linux system library linking | Andre Weissflog | 2022-08-02 | 1 | -3/+3 |
| | | |||||
| * | gen_odin.py: fix linux library names | Andre Weissflog | 2022-08-02 | 1 | -2/+2 |
| | | |||||
| * | gen_odin.py: add GL vs Metal/D3D11 backend selection via define | Andre Weissflog | 2022-07-28 | 1 | -16/+31 |
| | | |||||
| * | gen_odin.py: inject sdtx.printf() wrapper function | Andre Weissflog | 2022-07-26 | 1 | -2/+12 |
| | | |||||
| * | gen_odin.py: don't remap sgl_rad() and sgl_deg() | Andre Weissflog | 2022-07-25 | 1 | -2/+0 |
| | | |||||
| * | gen_odin.py: fix output directory structure | Andre Weissflog | 2022-07-23 | 1 | -5/+9 |
| | | |||||
| * | gen_odin.py: rename 'private' struct field to '_' | Andre Weissflog | 2022-07-20 | 1 | -1/+5 |
| | | |||||
| * | gen_odin.py: map C bool to Odin bool (not b8), get rid of semicolons | Andre Weissflog | 2022-07-20 | 1 | -8/+8 |
| | | |||||
| * | map SGL_NO_ERROR to SGL_ERROR_NO_ERROR | Andre Weissflog | 2022-07-20 | 3 | -0/+3 |
| | | |||||
| * | gen_odin.py: put system library dependencies into foreign imports | Andre Weissflog | 2022-07-19 | 1 | -10/+65 |
| | | |||||
| * | gen_odin.py: fix .a vs .lib c-library imports | Andre Weissflog | 2022-07-19 | 1 | -4/+4 |
| | | |||||
| * | gen_odin.py: more general fixes | Andre Weissflog | 2022-07-19 | 1 | -12/+19 |
| | | |||||
| * | gen_zig.py: minor code cleanup | Andre Weissflog | 2022-07-19 | 1 | -1/+1 |
| | | |||||
| * | gen_nim.py: fix type mapping for sg_context_desc.pixel/depth_format | Andre Weissflog | 2022-07-19 | 1 | -1/+3 |
| | | |||||
| * | gen_odin.py: fix C library imports | Andre Weissflog | 2022-07-19 | 1 | -2/+20 |
| | | |||||
| * | gen_odin.py: replace reserved keyword 'context' with 'ctx' | Andre Weissflog | 2022-07-17 | 1 | -1/+3 |
| | | |||||
| * | gen_odin.py: generate structs | Andre Weissflog | 2022-07-17 | 1 | -68/+87 |
| | | |||||
| * | gen_zig.py: minor code cleanup | Andre Weissflog | 2022-07-17 | 1 | -1/+1 |
| | | |||||
| * | gen_odin.py: initial function and enum bindings | Andre Weissflog | 2022-07-16 | 1 | -22/+64 |
| | | |||||
| * | gen_zig.py: some minor code cleanup | Andre Weissflog | 2022-07-16 | 1 | -5/+5 |
| | | |||||
| * | start with Odin bindings functions | Andre Weissflog | 2022-07-15 | 1 | -7/+88 |
| | | |||||
| * | gen_odin.py: write C function imports | Andre Weissflog | 2022-07-14 | 1 | -2/+246 |
| | | |||||
| * | bindings generation minor code cleanup | Andre Weissflog | 2022-07-14 | 3 | -11/+11 |
| | | |||||
| * | start with odin bindings | Andre Weissflog | 2022-07-12 | 3 | -1/+89 |
| | | |||||
| * | Nim bindings: remove to_Range and clean up type mappings | Andre Weissflog | 2022-07-02 | 1 | -7/+11 |
| | | | | | | | | | | - to_Range() converter removed, to easy to f*ck up and end up with corrupted memory - size_t mapping changed from Nim's uint to int (because Nim's sizeof returns int - change Range.pointer to Range.addr (looks better since it is usually used with Nim's unsafeAddr) | ||||
| * | nim bindings: fix reserved keyword wrapping for C functions | Andre Weissflog | 2022-06-26 | 1 | -6/+10 |
| | | |||||
| * | nim bindings: clean up C to Nim type mappings | Andre Weissflog | 2022-06-26 | 1 | -5/+5 |
| | | |||||
| * | nim bindings: change enum naming conventions | Andre Weissflog | 2022-06-25 | 1 | -26/+36 |
| | | | | | | | | Enum items are now prefixes instead of relying on the enum name for scoping. This was necessary because Nim's 'pure' doesn't enforce putting the enum name in front of the enum items. | ||||
| * | nim bindings: remove to 'const to bitfield' conversion | Andre Weissflog | 2022-06-25 | 1 | -27/+3 |
| | | |||||
| * | nim bindings: don't differentiate between 'cint' and 'uint32' enums | Andre Weissflog | 2022-06-25 | 1 | -8/+2 |
| | | |||||