Actually "importc" is working well. I just missed to tell Nim the direction to 
the shared library.

So adding `{.link: "cpp/calc.so".}` and using either `importc: "calculation"` 
or `importcpp: "calculation(@)"` seems to be the solution. 

Reply via email to