added support for unnamed C++ enum members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e00522f427
commit
a8ab65b69e
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
%define PYVAL_IN_TYPEMAP(as_meth,pyfrag,...)
|
||||
%typemap(in,fragment=pyfrag) __VA_ARGS__
|
||||
"$1 = ($1_type) as_meth($input);
|
||||
"$1 = ($ltype)as_meth($input);
|
||||
if (PyErr_Occurred()) SWIG_fail;";
|
||||
%typemap(in,fragment=pyfrag) const __VA_ARGS__ & ($basetype temp)
|
||||
"temp = ($basetype) as_meth($input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue