Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Java Wrapper Now Working

Date2005-12-11 16:59
FromMichael Gogins
SubjectRe: [Cs-dev] Java Wrapper Now Working
This can probably be handled with a SWIG %rename directive, or a different module name in each interface language.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Dec 11, 2005 11:13 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Java Wrapper Now Working

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
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

Date2005-12-11 19:26
FromIstvan Varga
SubjectRe: [Cs-dev] Java Wrapper Now Working
AttachmentsNone