Re: about DISOWN (Re: [Chicken-users] non-finalized object in SWIG

2006-06-30 Thread John Lenz
Daishi Kato wrote: Hi, Sorry that I can't help much with the compilation errors. I have another question. Is it possible to specify a DISOWN typemap outside of the class definition. The following works: class Foo{ %apply SWIGTYPE *DISOWN {Bar bar}; void Foo(Bar bar); %clear Bar

Re: about DISOWN (Re: [Chicken-users] non-finalized object in SWIG

2006-06-30 Thread Daishi Kato
Thanks for all those explanations. I now better understand some of the typemaps. My resolution for now is putting %apply by a script. Well, so, here is another question: I'm wrapping the following class method, and it fails. class wxControl : public wxWindow { wxString GetLabel(); };

about DISOWN (Re: [Chicken-users] non-finalized object in SWIG

2006-06-26 Thread Daishi Kato
Hi, Sorry that I can't help much with the compilation errors. I have another question. Is it possible to specify a DISOWN typemap outside of the class definition. The following works: class Foo{ %apply SWIGTYPE *DISOWN {Bar bar}; void Foo(Bar bar); %clear Bar bar; }; What I would like to do