I\'ve got a weird linker issue. I have code that looks like so:
double given_amount = self.modelController.levelCompleteRewardAmount; swrve_currency_
You may need to surround the function prototype with:
#if defined __cplusplus extern "C" { #endif void swrve_currency_given (...whatever goes here...); #if defined __cplusplus }; #endif
That tells the compiler that it's a C function and not a C++ function.