mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-07-21 23:39:51 +00:00
appears to always pass a non-null pointer, but soundness across an FFI boundary shouldn't hinge on a producer's discipline — the Rust receiver should null-check. Especially since the C ABI signature here is the one downstream consumers will rely on indefinitely.
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
84.6%
Smarty
7.1%
C++
3.3%
CMake
2.7%
C
2.3%