4 ms·
Interesting project, though I'd rather just use Obj-C. I guess if you wanna use it in something like JavaScript or Lua it'd make sense to have C as a bindi g la
by elcritch 3y ago
Interesting project, though I'd rather just use Obj-C. I guess if you wanna use it in something like JavaScript or Lua it'd make sense to have C as a bindi g layer.
> https://gamepipeline.org/betray.html https://gamepipeline.org/betray.html
Interesting, I've been using a similar project for Nim lately: https://github.com/treeform/windy https://github.com/treeform/windy
It's surprising how simple Obj-C interaction is compared to Java JNI or something. Here's the Obj-C interop for Windy:
- macdefs: https://github.com/treeform/windy/blob/master/src/windy/platforms/macos/macdefs.nim https://github.com/treeform/windy/blob/master/src/windy/plat...
- macro shims for Obj-C messages: https://github.com/treeform/windy/blob/master/src/windy/platforms/macos/objc.nim https://github.com/treeform/windy/blob/master/src/windy/plat...