libpd / pd-for-ios

Pure Data for iOS
Other
265 stars 72 forks source link

extern "C" { prototype_tilde_setup(); } needed in .mm files for the externals #10

Closed mikegao4005 closed 7 years ago

mikegao4005 commented 9 years ago

if using external in objective C, extern prototype_tilde_setup(); will not work will need extern "C" { prototype_tilde_setup(); } for externals ...

Maybe good to put this in the help page because I got stuck on it for a while.

danomatika commented 7 years ago

This info was added to the libpd wiki: https://github.com/libpd/libpd/wiki/Adding-Pure-Data-external-libraries-to-your-project