summaryrefslogtreecommitdiffstats
path: root/source/squirrelbindings/SquirrelFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/squirrelbindings/SquirrelFunctions.cpp')
-rw-r--r--source/squirrelbindings/SquirrelFunctions.cpp28
1 files changed, 26 insertions, 2 deletions
diff --git a/source/squirrelbindings/SquirrelFunctions.cpp b/source/squirrelbindings/SquirrelFunctions.cpp
index b6410ad2e..0e35f7361 100644
--- a/source/squirrelbindings/SquirrelFunctions.cpp
+++ b/source/squirrelbindings/SquirrelFunctions.cpp
@@ -1,13 +1,29 @@
#include "Globals.h"
+
+
+
+
+
+#ifdef USE_SQUIRREL
+
+
+
+
+
#include "SquirrelFunctions.h"
#include "SquirrelBindings.h"
-#ifdef USE_SQUIRREL
+
+
static HSQUIRRELVM squirrelvm = NULL;
+
+
+
+
SQInteger runtimeErrorHandler(HSQUIRRELVM a_VM)
{
const SQChar *sErr = 0;
@@ -67,4 +83,12 @@ void sqPrint(SQChar * text)
LOGINFO("%s", text);
}
-#endif \ No newline at end of file
+
+
+
+
+#endif // USE_SQUIRREL
+
+
+
+