Files
BlitzNext/Runtime/lib/bbsys.hpp
T
Michael Fabian 'Xaymar' Dirks 2196cb8419 runtime: Formatting
2019-01-18 17:04:17 +01:00

22 lines
307 B
C++

#ifndef BBSYS_H
#define BBSYS_H
#include "basic.hpp"
#include "gxruntime.hpp"
extern bool debug;
extern gxRuntime* gx_runtime;
struct bbEx {
const char* err;
bbEx(const char* e) : err(e)
{
if (e)
gx_runtime->debugError(e);
}
};
#define ThrowRuntimeException(_X_) throw bbEx(_X_);
#endif