Ivan FB b598255f74
fix Lib-name derivation breaks on names with underscores (rust.nim:54, cpp.nim:38–42). parts[0] of nim_timer_create is "nim", not "nim_timer". The example library happens to be
nimtimer, so this never bites. The currentLibName short-circuit covers the registered case, but the fallback path is wrong, and silent.
2026-05-11 22:39:41 +02:00
2026-05-10 22:37:01 +02:00
2026-05-10 11:38:41 +02:00
2026-05-10 11:38:41 +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 93.7%
Smarty 6.3%