mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
382 B
C++
23 lines
382 B
C++
15 years ago
|
|
||
|
#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;
|
||
|
}
|
||
|
}
|
||
|
|