I was discussing about how potential closures could look like in #ziglang and an idea sparked in my mind. 1 hour later i have a proof-of-concept written with the current compiler which is convenient enough for me when #1717 lands
gist.github.com/MasterQ32/ef…#programming#comptime
Ok, sokol_shapes.h added to the #ziglang bindings, sample code: github.com/floooh/sokol-zig/…
Time to start thinking about the "big merge" now (of the C-API-changes in the sokol main repository)