aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/common/l_reference.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-09-13 15:08:43 +0800
committerchai <chaifix@163.com>2019-09-13 15:08:43 +0800
commit20535cb86266d7a4828009f3ddca42e35269b9e2 (patch)
tree796e77e4a34ed52b6c92fb58ec432c69ed4232e1 /src/libjin-lua/common/l_reference.h
parent695eadc9d2a6d2f499b24ee6858325f6e22da077 (diff)
*格式化代码
Diffstat (limited to 'src/libjin-lua/common/l_reference.h')
-rw-r--r--src/libjin-lua/common/l_reference.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/src/libjin-lua/common/l_reference.h b/src/libjin-lua/common/l_reference.h
index 1a62dba..4c4756f 100644
--- a/src/libjin-lua/common/l_reference.h
+++ b/src/libjin-lua/common/l_reference.h
@@ -5,50 +5,50 @@
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 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