Added support for complex numbers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eb4817c9ee
commit
68b52c4ee5
4 changed files with 139 additions and 2 deletions
|
|
@ -644,7 +644,7 @@ namespace swig
|
|||
{
|
||||
VALUE v = swig::from< Sequence::value_type >(*i);
|
||||
if ( RTEST( rb_yield(v) ) )
|
||||
$self->push_back(*i);
|
||||
$self->insert( r->end(), *i);
|
||||
}
|
||||
|
||||
return r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue