MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setInstructionLimit

Method setInstructionLimit

source/core/StarLua.cpp:396–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void LuaEngine::setInstructionLimit(uint64_t instructionLimit) {
397 if (instructionLimit != m_instructionLimit) {
398 m_instructionLimit = instructionLimit;
399 updateCountHook();
400 }
401}
402
403uint64_t LuaEngine::instructionLimit() const {
404 return m_instructionLimit;

Callers 3

ScriptableThreadMethod · 0.80
restartMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64