Resolved. I didn't not understand when to use importc vs importcpp. Apparently
importcpp is ONLY for methods of classes. If I change my pragma to importc then
everything is fine.
-From docs/backends.html-
"The importc pragma is the generic way of making backend
symbols available in Nim. The C++ or Objective-C backends
have their respective ImportCpp and ImportObjC pragmas
to call methods from classes."
- Cannot import a file that has importcpp? Codegen issue? ggibson
- Re: Cannot import a file that has importcpp? Codegen issue? ggibson
