Changeset 162 for trunk/src/lua/lua_state.cc
- Timestamp:
- 07/15/13 20:13:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_state.cc
r121 r162 279 279 } 280 280 281 void lua::table_guard::get_raw_flags( const std::string& element, uint8* data, uint32 count ) 282 { 283 lua_getfield( L->L, -1, element.c_str() ); 284 if ( lua_type( L->L, -1 ) != LUA_TTABLE ) 285 { 286 lua_pop( L->L, 1 ); 287 return; 288 } 289 nlua_toflags( L->L, -1, data, count ); 290 lua_pop( L->L, 1 ); 291 } 292 293 281 294 void lua::state::log_stack() 282 295 {
Note: See TracChangeset
for help on using the changeset viewer.