openmw/components/interpreter/interpreter.cpp

23 lines
359 B
C++
Raw Normal View History

2010-06-28 19:20:45 +02:00
#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();
}
}