mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-28 18:45:33 +00:00
22 lines
382 B
C++
22 lines
382 B
C++
|
|
#include "runtime.hpp"
|
|
|
|
namespace Interpreter
|
|
{
|
|
Runtime::Runtime (Context& context) : mContext (context), mCode (0) {}
|
|
|
|
void Runtime::configure (const Interpreter::Type_Code *code, int codeSize)
|
|
{
|
|
clear();
|
|
|
|
mCode = code;
|
|
mCodeSize = codeSize;
|
|
}
|
|
|
|
void Runtime::clear()
|
|
{
|
|
mCode = 0;
|
|
mCodeSize = 0;
|
|
}
|
|
}
|
|
|