Comment on A review of Nim 2: The good and bad with example codeparentComments−miguel_martinOP1yThe way to enable C++ code calling Nim is via exportc or exportcpp and by writing a head file with the declarations you are exportingThis will require manual work, but you can use macros or a code generation script to help if your api is large.
Comments
The way to enable C++ code calling Nim is via exportc or exportcpp and by writing a head file with the declarations you are exporting
This will require manual work, but you can use macros or a code generation script to help if your api is large.