On Wednesday 22 March 2006 03:37, Michael Gogins wrote: > I've restored these typemaps, which were commented out in Python, > and only half implemented in Java. Note that - at least with the version of SWIG I have, so more testing may be needed - for some reason the typemaps break the use of the CsoundArgVList class, and at the same time they do not work with the overloaded Csound::Compile() method. As a result, it is not possible to use Csound::Compile() with anything other than the fixed 1, 2, 3, 4, or 5 command line arguments. So, if the same problems also occur for other people, the possible solutions include: * removing all overloaded methods, keeping only one that takes int argc, char **argv; as the methods are virtual, they probably need to be removed for all languages, not just Python, to keep the vtable consistent. However, it is possible that excluding them from Python wrapping may also work, and then doing so would be preferred. CsoundArgVList should also be excluded from Python since it is made unusable by the typemap. * commenting out the typemap again ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net