Changeset 209 for trunk/src


Ignore:
Timestamp:
08/19/13 11:40:56 (12 years ago)
Author:
epyon
Message:
  • lua_flags - dedicated flags module and lua type passing support
  • minor cleanups
Location:
trunk/src/lua
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_state.cc

    r207 r209  
    251251}
    252252
    253 void lua::table_guard::get_raw_flags( const std::string& element, uint8* data, uint32 count )
    254 {
    255         lua_getfield( m_state, -1, element.c_str() );
    256         if ( lua_type( m_state, -1 ) != LUA_TTABLE )
    257         {
    258                 lua_pop( m_state, 1 );
    259                 return;
    260         }
    261         nlua_toflags( m_state, -1, data, count );
    262         lua_pop( m_state, 1 );
    263 }
    264 
    265 
    266253void lua::state::log_stack()
    267254{
Note: See TracChangeset for help on using the changeset viewer.