mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-21 16:59:30 +00:00
The ffiDtor doc still claimed the generated destructor "calls destroyFFIContext", but it now uses the recycle path. Replaced that line with a concise note that the slot is recycled for reuse (bounding fd usage) and that the call is non-blocking — RET_OK once accepted, real outcome via callback. Switched the example placeholder from Waku to a generic MyLibObj, and dropped the duplicate inline comment in the body. Addresses PR #74 review comment r3363200458. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nim-ffi
Allows exposing Nim projects to other languages
Example
examples/nim_timer is now a self-contained Nimble project that imports nim-ffi directly.
Use cd examples/nim_timer && nimble install -y ../.. && nimble build to compile the example.
Description
Languages
Nim
87.9%
Smarty
5.9%
C++
4.8%
CMake
1.4%