@@ -0,0 +1,7 @@
+
+#include "bbassert.h"
+#include "bbdebug.h"
+void bbRuntimeError( const bbString &msg ){
+ bbDB::error( msg );
+}
@@ -0,0 +1,17 @@
+#ifndef BBASSERT_H
+#define BBASSERT_H
+#include "bbtypes.h"
+void bbRuntimeError( const bbString &str );
+#define bbAssert( COND,MSG ) (void)((COND) || (bbRuntimeError(MSG),0))
+#ifdef NDEBUG
+#define bbDebugAssert( COND,MSG )
+#else
+#define bbDebugAssert( COND,MSG ) (void)((COND) || (bbRuntimeError(MSG),0))
+#endif