mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 22:10:43 +00:00
768e812e45
* On windows it's strongly desired to be able to compile straight out of a clean checkout or source download. This means anyone can download the source and investigate something quickly, without having to worry about the hassle of figuring out how the project downloads 3rd party dependencies, fetching them, getting them registered in the right place. * This can't be put in a submodule as git submodules don't get downloaded by default so people new to git will get confusing compilation messages, and someone downloading the source from github directly without cloning via git won't get submodules included. * It does add some extra size to a fresh download/checkout which is unfortunate, but absolutely worth the cost. Shallow checkouts still aren't unfeasibly large, and it's only a one-off cost at clone time.
74 lines
1.2 KiB
OpenEdge ABL
74 lines
1.2 KiB
OpenEdge ABL
#if defined(SWIGJAVA) || defined(SWIGCSHARP)
|
|
#error "do not use this version of std_except.i"
|
|
#endif
|
|
|
|
%{
|
|
#include <typeinfo>
|
|
#include <stdexcept>
|
|
%}
|
|
|
|
#if defined(SWIG_STD_EXCEPTIONS_AS_CLASSES)
|
|
|
|
namespace std {
|
|
struct exception
|
|
{
|
|
virtual ~exception() throw();
|
|
virtual const char* what() const throw();
|
|
};
|
|
|
|
struct bad_cast : exception
|
|
{
|
|
};
|
|
|
|
struct bad_exception : exception
|
|
{
|
|
};
|
|
|
|
struct logic_error : exception
|
|
{
|
|
logic_error(const string& msg);
|
|
};
|
|
|
|
struct domain_error : logic_error
|
|
{
|
|
domain_error(const string& msg);
|
|
};
|
|
|
|
struct invalid_argument : logic_error
|
|
{
|
|
invalid_argument(const string& msg);
|
|
};
|
|
|
|
struct length_error : logic_error
|
|
{
|
|
length_error(const string& msg);
|
|
};
|
|
|
|
struct out_of_range : logic_error
|
|
{
|
|
out_of_range(const string& msg);
|
|
};
|
|
|
|
struct runtime_error : exception
|
|
{
|
|
runtime_error(const string& msg);
|
|
};
|
|
|
|
struct range_error : runtime_error
|
|
{
|
|
range_error(const string& msg);
|
|
};
|
|
|
|
struct overflow_error : runtime_error
|
|
{
|
|
overflow_error(const string& msg);
|
|
};
|
|
|
|
struct underflow_error : runtime_error
|
|
{
|
|
underflow_error(const string& msg);
|
|
};
|
|
}
|
|
|
|
#endif
|