Utilities.h 389 B

123456789101112131415161718
  1. #pragma once
  2. /*
  3. This file is for free-floating functions that are used across more than one file.
  4. */
  5. #include <Rocket/Core/Lua/lua.hpp>
  6. #include <Rocket/Core/Lua/LuaType.h>
  7. #include <Rocket/Core/Variant.h>
  8. namespace Rocket {
  9. namespace Core {
  10. namespace Lua {
  11. //casts the variant to its specific type before pushing it to the stack
  12. void PushVariant(lua_State* L, Variant* var);
  13. }
  14. }
  15. }