Latest exception fixes for properties

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-02-15 22:02:22 +00:00
commit 97ed6ef9f3
5 changed files with 124 additions and 55 deletions

View file

@ -28,9 +28,10 @@
return ret;
}
%typemap(csvarout) const enum SWIGTYPE & %{
%typemap(csvarout, excode=SWIGEXCODE2) const enum SWIGTYPE & %{
get {
return $*csclassname.swigToEnum($imcall);
$*csclassname ret = $*csclassname.swigToEnum($imcall);$excode
return ret;
} %}
@ -56,9 +57,10 @@
return ret;
}
%typemap(csvarout) enum SWIGTYPE %{
%typemap(csvarout, excode=SWIGEXCODE2) enum SWIGTYPE %{
get {
return $csclassname.swigToEnum($imcall);
$csclassname ret = $csclassname.swigToEnum($imcall);$excode
return ret;
} %}
%typemap(csbase) enum SWIGTYPE ""