Utilities.h 449 B

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