swig/Examples/test-suite/li_std_except.i
Marcelo Matus 1799ddf592 fixes and more cases, as usual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:11:29 +00:00

21 lines
339 B
OpenEdge ABL

%module li_std_except
%include <std_except.i>
%inline %{
struct E1 : public std::exception
{
};
struct E2
{
};
struct Test {
int foo1() throw(std::bad_exception) { return 0; }
int foo2() throw(std::logic_error) { return 0; }
int foo3() throw(E1) { return 0; }
int foo4() throw(E2) { return 0; }
};
%}