Hi,

At Tue, 15 Apr 2003 20:02:56 +0900,
Simon Strandgaard wrote:
> 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 ???

(a) passes the given block but (b) doesn't, in normal case.

> Problem: with (a) then we cannot inheirit from a SWIG class.
> Solution: with (b) then inheiritance works fine.

How do they work fine or don't?
And which version of ruby?

-- 
Nobu Nakada