Hi, At Tue, 15 Apr 2003 22:44:39 +0900, Simon Strandgaard wrote: > > S> BTW this is the SWIG im using :-) > > > > Can you give the code generated by SWIG, if it's not too long or send me > > it in private email > > > > Guy Decoux > > fetch this tar.gz file: > http://metaeditor.sourceforge.net/embed/rubyembed-0.1.tar.gz > > > the SWIG generated file is > rubyembed-0.1.tar.gz/source/redirect_wrap.cpp SWIG doesn't seem to use rb_define_alloc_func(), so allocator of Object is used by rb_class_new_instance(). "new" works fine because SWIG redefines Redirect.new (but it is deprecated now). -- Nobu Nakada