aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/common/je_lua_reference.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin-lua/common/je_lua_reference.h')
-rw-r--r--src/libjin-lua/common/je_lua_reference.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/libjin-lua/common/je_lua_reference.h b/src/libjin-lua/common/je_lua_reference.h
deleted file mode 100644
index 1a62dba..0000000
--- a/src/libjin-lua/common/je_lua_reference.h
+++ /dev/null
@@ -1,54 +0,0 @@
-#ifndef __JIN_COMMON_REFERENCE_H
-#define __JIN_COMMON_REFERENCE_H
-
-#include "common/je_lua.h"
-
-namespace JinEngine
-{
- namespace Lua
- {
-
- ///
- /// This class wraps the reference functionality built into Lua, which allows C++ code to refer to Lua
- /// variables.
- ///
- class LuaRef
- {
- public:
- ///
- ///
- ///
- LuaRef(lua_State* L, int i);
-
- ///
- ///
- ///
- ~LuaRef();
-
- ///
- ///
- ///
- void unref();
-
- ///
- /// Push value onto the stack.
- ///
- void push();
-
- private:
- ///
- ///
- ///
- lua_State* const mL;
-
- ///
- ///
- ///
- int mIndex;
-
- };
-
- } // namespace Lua
-} // namespace JinEngine
-
-#endif // __JIN_COMMON_REFERENCE_H \ No newline at end of file