| Please note, the callback setter declaration in csound.h needs to be #ifndef SWIG (#ifdef'd out if SWIG is running) as SWIG does not know how to make a stub for the function that sets the callback because, in turn, it does not know how to define the callback itself in the target language.
I have put in this #ifdef in my local code, and it will be checked in soon probably if you do not also do it.
If we need to have the callback setter (and therefore also the callback) exposed in the Python API, etc., there are several alternative ways to do this: a typemap, a helper class, or a virtual function with a director. We should discuss which is best.
Regards,
Mike
-----Original Message-----
>From: Anthony Kozar
>Sent: May 2, 2007 11:25 AM
>To: Csound Developer list
>Subject: Re: [Cs-dev] Next release
>
>I still have some more code to tweak for the new FileOpen callback that I
>added last weekend.
>
>Victor's schedule sounds pretty good to me.
>
>Anthony
>
>Victor Lazzarini wrote on 5/2/07 6:30 AM:
>
>>> b) Do you have stuff you want in the next release?
>>
>> yes, I think so.
>>
>>> c) When is convenient to schedule it?
>>
>> Mid/end of May?
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |