array throws typemap added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
42afd931c7
commit
fac3662444
2 changed files with 8 additions and 8 deletions
|
|
@ -288,13 +288,13 @@ $1 = &temp; %}
|
|||
SWIG_CSharpThrowException(SWIG_CSharpException, error_msg);
|
||||
}
|
||||
|
||||
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
|
||||
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [ANY] %{
|
||||
SWIG_CSharpThrowException(SWIG_CSharpException, "C++ $1_type exception thrown");
|
||||
}
|
||||
%}
|
||||
|
||||
%typemap(throws) char * {
|
||||
%typemap(throws) char * %{
|
||||
SWIG_CSharpThrowException(SWIG_CSharpException, $1);
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
/* Typemaps for code generation in proxy classes and C# type wrapper classes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue