From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-04-15T20:02:56+09:00 Subject: rb_class_new_instance behaves strange My code is behaving different, when im doing this change: # (a) VALUE self = rb_class_new_instance(a.n, a.argv, klass); to: # (b) VALUE self = rb_funcall2(klass, rb_intern("new"), a.n, a.argv); What is the difference ??? Problem: with (a) then we cannot inheirit from a SWIG class. Solution: with (b) then inheiritance works fine. Why does this make a difference ??? -- Simon Strandgaard