normalizing the inout typemaps and other cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
61a83837cd
commit
7afe6bc139
28 changed files with 978 additions and 633 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __python_ccomplex_i__
|
||||
#define __python_ccomplex_i__
|
||||
|
||||
%include "complex_common.i"
|
||||
%include complex_common.i
|
||||
|
||||
/*
|
||||
* C complex wrap
|
||||
|
|
@ -32,7 +32,11 @@
|
|||
%typemap_primitive(SWIG_TYPECHECK_CPLXFLT, float_complex);
|
||||
%typemap_primitive(SWIG_TYPECHECK_CPLXDBL, double_complex);
|
||||
|
||||
/* empty complex. hack in the meantime */
|
||||
%apply double_complex { complex };
|
||||
%apply const double_complex& { const complex& };
|
||||
%apply double_complex& { complex& };
|
||||
%apply double_complex* { complex* };
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue