Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] more SWIG generated code issues

Date2005-11-19 20:31
FromMichael Gogins
SubjectRe: [Cs-dev] more SWIG generated code issues
I reverted all changes that I did not know for sure would not work. I know that the callback functions do not work, so they are now not wrapped. I also know that some functions that seem as though they might not work, will work. There are automatic typemaps for some pointers, and there are SWIG wrappers for some structs that are passed to and from API functions. 

Doing this properly will require some work.

The changes we are discussing here are only in Python. Nothing has been done as yet in other languages, though the changes should mostly be identical.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Nov 19, 2005 12:17 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] more SWIG generated code issues

Victor Lazzarini wrote:

> I don't think anyone will try to mix SWIG and by hand wrappers. I think 
> we should exclude everything that does not work at present.

As an experiment, I did add code to the Python interface to avoid
wrapping functions that do not work, or are useless or redundant,
with plans to extend the selection of API functions to other languages
as well. However, it seems that someone reverted most of the changes;
that is fine with me, though, as I know which functions work and which
ones do not, anyway.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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 the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-11-19 20:45
FromIstvan Varga
SubjectRe: [Cs-dev] more SWIG generated code issues
Michael Gogins wrote:

> I reverted all changes that I did not know for sure would not work.
 > I know that the callback functions do not work, so they are now not
 > wrapped.

The callbacks related to graphs are still wrapped, as well as all
C interface functions.

> The changes we are discussing here are only in Python.
 > Nothing has been done as yet in other languages, though the
 > changes should mostly be identical.

Is it possible then to move some of it (at least the %ignore
directives) to a common .i file ?


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net