Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7ad2fa11dc
commit
ec6251e86d
10 changed files with 97 additions and 17 deletions
|
|
@ -72,7 +72,7 @@ SwigComplex_AsComplexDouble(PyObject *o)
|
|||
}
|
||||
|
||||
%typemap(inv) const complex<T> & {
|
||||
$inupt = PyComplex_FromDoubles($1_name->real(), $1_name->imag());
|
||||
$input = PyComplex_FromDoubles($1_name->real(), $1_name->imag());
|
||||
}
|
||||
|
||||
%typemap(outv) complex<T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue