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 fc7472e96..b5b352bd0 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -186,6 +186,11 @@ public:
* Release a SQ object.
*/
void ReleaseObject(HSQOBJECT *ptr) { sq_release(this->vm, ptr); }
+
+ /**
+ * Tell the VM to remove \c amount ops from the number of ops till suspend.
+ */
+ static void DecreaseOps(HSQUIRRELVM vm, int amount);
};
#endif /* SQUIRREL_HPP */