On Sun, 26 Dec 2010, Hans-Christoph Steiner wrote:

I don't know about C++, but in C that sounds like the setup function is declared as 'static'.

C++ symbols aren't like C symbols, as they contain namespace information, type information (of function arguments), etc. They begin with "_Z".

If you want to have spectdelay_tilde_setup in C++, you have to use the «extern "C"» prefix, to prevent C++ from prepending "_Z" and appending what it takes to say "it's a void function"...

 _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to