add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
33f768f33d
commit
c599db0cd6
3 changed files with 17 additions and 5 deletions
|
|
@ -5,9 +5,13 @@
|
|||
/* --- Input typemaps --- */
|
||||
%typemap(in) enum SWIGTYPE "$1 = ($1_ltype) NUM2INT($input);";
|
||||
|
||||
%typemap(directorout) enum SWIGTYPE "$result = NUM2INT($input);";
|
||||
|
||||
/* --- Output typemaps --- */
|
||||
%typemap(out) enum SWIGTYPE "$result = INT2NUM($1);";
|
||||
|
||||
%typemap(directorin) enum SWIGTYPE "$input = INT2NUM($1);";
|
||||
|
||||
/* --- Variable Input --- */
|
||||
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue