FYI, Nim can also inline code, though its usage is discouraged. {.emit:""" static char* hello_world() { return "Hello, World!"; } """.} proc hello_world(): cstring {.importc: "hello_world".} echo hello_world() Run
- Created my first binding! I am impressed! Hallicon
- Created my first binding! I am impressed! PMunch
- Created my first binding! I am impressed! jackhftang