| 12345678910111213141516171819 |
- #include "LuaPlugin.h"
- #include <RmlUi/Core/Core.h>
- #include <RmlUi/Lua/Lua.h>
- namespace Rml {
- namespace Lua {
- void Initialise()
- {
- ::Rml::Lua::Initialise(nullptr);
- }
- void Initialise(lua_State* lua_state)
- {
- ::Rml::RegisterPlugin(new LuaPlugin(lua_state));
- }
- } // namespace Lua
- } // namespace Rml
|