C++11 strongly typed enum fixes for directors
Tests added for previous commit. Further refinements to patch #308 and fixes #307.
This commit is contained in:
parent
6a7250d71b
commit
fd8dcf44bf
6 changed files with 21 additions and 6 deletions
|
|
@ -379,7 +379,7 @@
|
|||
%{ $result = (intgo)$1; %}
|
||||
|
||||
%typemap(directorin) enum SWIGTYPE
|
||||
%{ $input = ($1_ltype)$1; %}
|
||||
%{ $input = (intgo)$1; %}
|
||||
|
||||
%typemap(directorout) enum SWIGTYPE
|
||||
%{ $result = ($1_ltype)$input; %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue