Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/extern_throws.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

19 lines
319 B
OpenEdge ABL

%module extern_throws
%{
#if defined(_MSC_VER)
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif
%}
%inline %{
#include <exception>
extern int get() throw(std::exception);
%}
%{
int get() throw(std::exception) { return 0; }
%}