summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index 612c6ce2e..97dd7988d 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -107,6 +107,11 @@ public:
bool Resume(int suspend = -1);
/**
+ * Resume the VM with an error so it prints a stack trace.
+ */
+ void ResumeError();
+
+ /**
* Tell the VM to do a garbage collection run.
*/
void CollectGarbage();