| I should probably add, in CsoundVST, CsoundVST itself is not statically linked with the Csound API. CsoundVST loads Python, Python loads the Csound API and the CppSound class which inherits from the Csound API class, and then CsoundVST retrieves a global CppSound instance pointer from the Python object and calls functions off its virtual function table. Therefore, runtime polymorphism must be supported.
I presume that either the Python wrapper worked for you after you made this change, or you did not test the Python wrapper after you made this change.
If it did work for you, I would like to know more about that. I wonder if virtual function tables are required for this to work on Windows, but not on Linux.
In any event, support for runtime polymorphism is important and must not be removed.
Regards,
Mike
-----Original Message-----
From: Istvan Varga
Sent: Dec 7, 2005 2:47 AM
To: csound-devel@lists.sourceforge.net
Subject: [Cs-dev] csound.hpp
Why was this removed ? It is only enabled for the *_wrap.cc files.
-#ifdef __BUILDING_CSOUND_INTERFACES
-#define virtual
-#endif
-
-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
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 |