Ivan FB 5f76d1fa5b
docs(macro): clarify ffiDtor recycle teardown comment
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>
2026-06-05 17:12:06 +02:00
2026-06-04 21:49:36 +02:00
2026-05-11 19:21:40 -03:00
2026-06-02 23:07:06 +02:00
2026-06-02 22:53:47 +02:00

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
Allows exposing Nim projects to other languages
Readme
Languages
Nim 87.9%
Smarty 5.9%
C++ 4.8%
CMake 1.4%