diff --git a/src/scripting/src/runtime_lua.cpp b/src/scripting/src/runtime_lua.cpp new file mode 100644 index 0000000..ef0bcdb --- /dev/null +++ b/src/scripting/src/runtime_lua.cpp @@ -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() +{ +} + + +}