Ignore:
Timestamp:
07/31/14 08:08:31 (11 years ago)
Author:
epyon
Message:
  • lua::table_guard is_* utility functions
  • minor tweaks
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/lua/lua_state.hh

    r288 r296  
    230230                        float get_float( const std::string& element, float defval = 0.0 );
    231231                        bool get_boolean( const std::string& element, bool defval = false );
    232 
     232                        bool is_table( const std::string& element );
     233                        bool is_number( const std::string& element );
     234                        bool is_boolean( const std::string& element );
     235                        bool is_string( const std::string& element );
    233236                private:
    234237                        int m_level;
Note: See TracChangeset for help on using the changeset viewer.