mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-27 11:50:09 +00:00
The pool's fixed array holds FFIContext objects, so "contexts" names what it actually stores; "slot" emphasised array positions but the element type already conveys that. Swept the "slot" vocabulary to "context" across the pool, context, macro and test prose so the terminology is consistent with the field name. Also corrected a stale doc reference — pool.releaseSlot (no such proc on this branch) is now the real mechanism, ctx.unclaim(). 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
89.2%
Smarty
5.2%
C++
4.4%
CMake
1.2%