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 1ada519cc..69e01e647 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -253,6 +253,11 @@ public:
* Are we allowed to suspend the squirrel script at this moment?
*/
bool CanSuspend();
+
+ /**
+ * How many operations can we execute till suspension?
+ */
+ SQInteger GetOpsTillSuspend();
};
#endif /* SQUIRREL_HPP */