Initial commit.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
#ifndef BBSYS_H
|
||||
#define BBSYS_H
|
||||
|
||||
#include "basic.h"
|
||||
#include "../gxruntime/gxruntime.h"
|
||||
|
||||
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 RTEX( _X_ ) throw bbEx( _X_ );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user