Changeset 121 for trunk/src/lua/lua_state.cc
- Timestamp:
- 06/15/13 17:47:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_state.cc
r86 r121 15 15 using namespace nv; 16 16 17 lua::stack_guard::stack_guard( lua::state* L )18 : L( L), m_level( lua_gettop(L->L) )19 { 20 21 } 22 23 lua::stack_guard::stack_guard( lua::state& L )24 : L(& L), m_level( lua_gettop((&L)->L) )17 lua::stack_guard::stack_guard( lua::state* aL ) 18 : L(aL), m_level( lua_gettop(aL->L) ) 19 { 20 21 } 22 23 lua::stack_guard::stack_guard( lua::state& aL ) 24 : L(&aL), m_level( lua_gettop(aL.L) ) 25 25 { 26 26
Note: See TracChangeset
for help on using the changeset viewer.