On Wednesday 07 December 2005 15:58, Michael Gogins wrote: > Further to this, more thought says templates are not required. We just need > an empty C++ callback class for each Csound API callback function > signature, and we wrap it with SWIG "director" classes. Every language that > supports directors (currently, Python and Java) will then allow the > callback class to be subclassed in the language. The class will have a > member function that directly returns the static actual callback function. I was able to get working callbacks in Python and Java using directors, although it seems that there are link errors due to multiple definition of symbols if this is used in both wrappers at the same time. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net