aboutsummaryrefslogtreecommitdiff
path: root/bindgen
Commit message (Collapse)AuthorAgeFilesLines
* use addr insteadPixeller2023-06-231-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 casesAndre Weissflog2023-05-191-0/+2
|
* gen_rust.py: special case SAPP_MODIFIER_* constants to u32 (fixes ↵Andre Weissflog2023-03-311-2/+9
| | | | https://github.com/floooh/sokol-rust/issues/5)
* Integrate automatic sokol-rust bindings generation. (#811)Andre Weissflog2023-03-293-10/+897
|
* add sokol_log.h to nim bindingsAndre Weissflog2023-02-121-15/+27
|
* add sokol_log.h to odin bindings generatorAndre Weissflog2023-02-121-0/+2
|
* add sokol_log.h to zig bindingsAndre Weissflog2023-02-112-23/+35
|
* gen_zig.py: remove obsolete stage1 checkkcbanner2023-01-031-4/+1
|
* gen_zig.py: remove obsolete std.meta importAndre Weissflog2023-01-031-1/+0
|
* gen_zig.py: change to stage2 fnptr syntaxkcbanner2023-01-011-1/+1
|
* Merge branch 'zig-0.10.0'Andre Weissflog2022-11-032-2/+8
|\
| * Merge branch 'master' of github.com:kcbanner/sokol into zig-0.10.0Andre Weissflog2022-10-162-2/+8
| |\
| | * gen_zig.py: use meta.FnPtr instead of a switchkcbanner2022-08-281-2/+2
| | |
| | * gen_zig.py: add compile time branches for stage2 supportkcbanner2022-08-272-2/+8
| | |
* | | Fix language bindings:Andre Weissflog2022-11-034-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 debuggingAndre Weissflog2022-11-031-0/+2
| | |
* | | gen_nim.py: fix case warnings in nim 1.6.8Andre Weissflog2022-10-181-4/+4
|/ /
* / Remove wrapper procs for Odin bindings. Use c.int type (#719)Phil H2022-10-161-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 librariesAndre Weissflog2022-08-021-3/+3
|
* gen_odin.py: add dl to linux system librariesAndre Weissflog2022-08-021-1/+1
|
* gen_odin.py: fix linux system library linkingAndre Weissflog2022-08-021-3/+3
|
* gen_odin.py: fix linux library namesAndre Weissflog2022-08-021-2/+2
|
* gen_odin.py: add GL vs Metal/D3D11 backend selection via defineAndre Weissflog2022-07-281-16/+31
|
* gen_odin.py: inject sdtx.printf() wrapper functionAndre Weissflog2022-07-261-2/+12
|
* gen_odin.py: don't remap sgl_rad() and sgl_deg()Andre Weissflog2022-07-251-2/+0
|
* gen_odin.py: fix output directory structureAndre Weissflog2022-07-231-5/+9
|
* gen_odin.py: rename 'private' struct field to '_'Andre Weissflog2022-07-201-1/+5
|
* gen_odin.py: map C bool to Odin bool (not b8), get rid of semicolonsAndre Weissflog2022-07-201-8/+8
|
* map SGL_NO_ERROR to SGL_ERROR_NO_ERRORAndre Weissflog2022-07-203-0/+3
|
* gen_odin.py: put system library dependencies into foreign importsAndre Weissflog2022-07-191-10/+65
|
* gen_odin.py: fix .a vs .lib c-library importsAndre Weissflog2022-07-191-4/+4
|
* gen_odin.py: more general fixesAndre Weissflog2022-07-191-12/+19
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-191-1/+1
|
* gen_nim.py: fix type mapping for sg_context_desc.pixel/depth_formatAndre Weissflog2022-07-191-1/+3
|
* gen_odin.py: fix C library importsAndre Weissflog2022-07-191-2/+20
|
* gen_odin.py: replace reserved keyword 'context' with 'ctx'Andre Weissflog2022-07-171-1/+3
|
* gen_odin.py: generate structsAndre Weissflog2022-07-171-68/+87
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-171-1/+1
|
* gen_odin.py: initial function and enum bindingsAndre Weissflog2022-07-161-22/+64
|
* gen_zig.py: some minor code cleanupAndre Weissflog2022-07-161-5/+5
|
* start with Odin bindings functionsAndre Weissflog2022-07-151-7/+88
|
* gen_odin.py: write C function importsAndre Weissflog2022-07-141-2/+246
|
* bindings generation minor code cleanupAndre Weissflog2022-07-143-11/+11
|
* start with odin bindingsAndre Weissflog2022-07-123-1/+89
|
* Nim bindings: remove to_Range and clean up type mappingsAndre Weissflog2022-07-021-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 functionsAndre Weissflog2022-06-261-6/+10
|
* nim bindings: clean up C to Nim type mappingsAndre Weissflog2022-06-261-5/+5
|
* nim bindings: change enum naming conventionsAndre Weissflog2022-06-251-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' conversionAndre Weissflog2022-06-251-27/+3
|
* nim bindings: don't differentiate between 'cint' and 'uint32' enumsAndre Weissflog2022-06-251-8/+2
|