1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/components/interpreter/runtime.cpp

23 lines
382 B
C++
Raw Normal View History

2010-06-28 17:20:45 +00:00
#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;
}
}