chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Daishi Kato
Subject: about DISOWN (Re: [Chicken-users] non-finalized object in SWIG
Date: Mon, 26 Jun 2006 16:00:47 +0900
User-agent: Wanderlust/2.15.3 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)

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 is like this:
%apply SWIGTYPE *DISOWN {Foo::Foo(Bar bar)};
class Foo{
  void Foo(Bar bar);
};


Thanks,
Daishi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]