missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8ccabb2cc1
commit
abeef193d2
4 changed files with 35 additions and 0 deletions
|
|
@ -63,5 +63,13 @@ namespace std {
|
|||
++argvi;
|
||||
}
|
||||
|
||||
%typemap(throws) const string & {
|
||||
SWIG_croak($1.c_str());
|
||||
}
|
||||
|
||||
%typemap(throws) string {
|
||||
SWIG_croak($1.c_str());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue