From: "Asbjørn Reglund Thorsen" Date: 2005-01-17T22:38:04+09:00 Subject: Re: [n00b] Garbage collection, Ruby C++ and SWIG I just now, 5 minutes ago, solved the problem: It was the diffpack program`s job to erase it`s object. I just had to make Ruby know it, so I used the "freefunc" (ref SWIG-doc) function and it magically worked. =) I am really beginning to enjoy Ruby/SWIG !! The SWIG-doc was a little misleading, because it doesn`t tell that the %freefunc directive must be declared _before_ the class it`s "freeing" in the interface file. But thank you anyways for trying to help me... :-) Best regards from Norway....Yes, Ruby is getting quite popular here :-) On Mon, 17 Jan 2005, ts wrote: >>>>>> "A" == =?ISO-8859-1?Q?Asbj=F8rn Reglund Thorsen?= writes: > > A> The header file is located at http://folk.uio.no/asbjoert/MenuSystem.h > > Do diffpack (it's diffpack no ?), or one of the libraries (tk, mesa, ...) > is compiled with pthread support ? > > > > Guy Decoux > > >