mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 06:23:54 +00:00
23 lines
359 B
C++
23 lines
359 B
C++
|
|
||
|
#include "interpreter.hpp"
|
||
|
|
||
|
namespace Interpreter
|
||
|
{
|
||
|
Interpreter::Interpreter (Context& context)
|
||
|
: mRuntime (context)
|
||
|
{}
|
||
|
|
||
|
Interpreter::~Interpreter()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void Interpreter::run (const Type_Code *code, int codeSize)
|
||
|
{
|
||
|
mRuntime.configure (code, codeSize);
|
||
|
|
||
|
|
||
|
mRuntime.clear();
|
||
|
}
|
||
|
}
|