aboutsummaryrefslogtreecommitdiff
path: root/bindgen
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* nim bindings: replace Range.ptr with Range.pointer (can be used without quotes)Andre Weissflog2022-06-231-1/+2
|
* gen_nim.py: add array to quoted stringsAndre Weissflog2022-06-131-0/+1
|
* gen_nim.py: fix Windows linker options MSVC vs othersAndre Weissflog2022-06-121-3/+6
|
* Update Nim bindings generation. (#675)Andre Weissflog2022-06-122-87/+202
| | | | | | - the various array converters are now code-generated - also everything else in the manually written 'extras' source files is now code-generated - code cleanup and simplifications - also some minor code cleanup in the Zig code generator script
* gen_nim.py: generate by-value function wrappersAndre Weissflog2022-06-061-4/+34
|
* Language bindings generation cleanup round 1 (#674)Andre Weissflog2022-06-052-147/+122
|
* gen_zig.py: convert C-string results to Zig string slicesAndre Weissflog2022-05-311-1/+13
| | | | See: https://github.com/floooh/sokol-zig/issues/21
* Language bindings: fix new allocator callbacks (#671)Andre Weissflog2022-05-302-22/+12
| | | | | | | * remove typedef indirection for allocator callback functions * language bindings: fix allocator bindings * language bindings: replace FIXMEs and ??? with actual errors
* do not use Nim bit fields for nowGustav Olsson2022-05-231-3/+3
|
* update nim bindgenGustav Olsson2022-05-183-232/+192
| | | | | | | | * follow nim code style * avoid keyword clashes * remove redundant functions * use nim bitfields for some consts * generate bindings for sokol_glue.h
* gen_ir.py: accept both 'rvalue' and 'prvalue' for enums (clang change)Andre Weissflog2022-01-181-4/+4
|
* bindgen/gen_zig.py: zig 0.9.0 fixes (c_void => anyopaque)Andre Weissflog2021-12-211-8/+8
|
* Update gen_zig to support 0.8.0 and masterLee Cannon2021-07-201-1/+3
| | | These changes are required for zig master and are also valid for the latest stable version 0.8.0
* bindgen/README: add a note about clang and python3, fixes #253Andre Weissflog2021-05-261-0/+14
|
* a few minor updates:Garett Bass2021-04-081-8/+5
| | | | | | * regenerated from sokol/master * src/ext renamed to src/nim * `Num` enum constants discarded
* fix Nim cstring argument typeGarett Bass2021-03-271-1/+1
|
* updated gen_x.py to use sokol_app.c, sokol_gfx.c, instead of sokol_app_gfx.cGarett Bass2021-03-272-9/+9
|
* Merge branch 'master' of https://github.com/floooh/sokolGarett Bass2021-02-261-42/+57
|\
| * gen_zig.py: allow function arg-type overrides, allow ignored structsAndre Weissflog2021-02-261-42/+57
| |
* | added nim support to bindgenGarett Bass2021-02-254-1/+577
|/
* Language-binding-friendly API changes. (#458)Andre Weissflog2021-02-103-102/+246
| | | See: https://floooh.github.io/2021/02/07/sokol-api-overhaul.html
* bindgen: build zig-bindings with SOKOL_ZIG_BINDINGS defineAndre Weissflog2021-01-032-5/+8
|
* bindgen: add sokol_audio.hAndre Weissflog2020-12-302-3/+8
|
* bindgen: add sokol_time.hAndre Weissflog2020-12-232-3/+14
|
* bindgen updatesAndre Weissflog2020-12-235-17/+46
|
* add a WIP readme to bindgen directoryAndre Weissflog2020-12-221-0/+1
|
* more language bindings implAndre Weissflog2020-12-224-71/+24
|
* start with language bindings generationAndre Weissflog2020-12-224-0/+579