mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-05-17 07:39:34 +00:00
user who adds {.ffi.} in a sub-module that isn't pulled into the root file gets a successful build with missing methods. The README warns about this, but there's no
compile-time diagnostic — the registry could at least error if genBindings() is called and the count looks suspicious, or expose a way to assert "I expect N exports."
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
93.7%
Smarty
6.3%