git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
18 lines
319 B
OpenEdge ABL
18 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; }
|
|
%}
|
|
|