mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-08-05 14:33:13 +00:00
Update the native C example to cast each struct return's callback msg to its `const <Type>*` and read it in-callback (EchoResponse, ComplexResponse), instead of scanning opaque bytes. Regenerate the headers with the new return-shape note. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nim-ffi
Allows exposing Nim projects to other languages
Example
examples/timer is now a self-contained Nimble project that imports nim-ffi directly.
Use cd examples/timer && nimble install -y ../.. && nimble build to compile the example.
Description
Languages
Nim
87.1%
Smarty
5.7%
C++
3%
C
2.1%
CMake
2.1%