Ruby complex was broken for one of its constructors.
Fixed. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0cde0bcd2d
commit
50c035fb07
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ SWIG_From(Type)(%ifcplusplus(const Type&, Type) c)
|
|||
rb_float_new(Real(c)),
|
||||
rb_float_new(Imag(c))
|
||||
};
|
||||
return rb_class_new_instance(2, args, rb_cComplex);
|
||||
return rb_class_new_instance(2, args, swig_rb_cComplex);
|
||||
}
|
||||
}
|
||||
%enddef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue