adding missing file

This commit is contained in:
Hartmut Seichter 2019-01-23 09:06:05 +01:00
parent 61f8e6c071
commit b1c99be0d8

View file

@ -0,0 +1,22 @@
#include "runtime_lua.hpp"
namespace pw {
PW_RUNTIME_LUA_USE(core)
runtime_lua &runtime_lua::get()
{
static runtime_lua instance;
return instance;
}
void runtime_lua::add(const std::string &name, runtime_lua::register_function_t f) {
_register_function_list[name] = f;
}
runtime_lua::runtime_lua()
{
}
}