Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4767 in orxonox.OLD for orxonox/trunk/src/lib/util/ini_parser.cc


Ignore:
Timestamp:
Jul 2, 2005, 11:57:47 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ini-parser small cleanup char* → const char*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/util/ini_parser.cc

    r4597 r4767  
    6969   \return zero on success or -1 if the section could not be found
    7070*/
    71 int IniParser::getSection( char* section)
     71int IniParser::getSection( const char* section)
    7272{
    7373  bInSection = false;
     
    108108   \return zero if the buffers have been filled with data or -1 if there are no entries left in the current section
    109109*/
    110 int IniParser::nextVar( char* name, char* value)
     110int IniParser::nextVar( const char* name, const char* value)
    111111{
    112112  if( stream == NULL)
     
    157157   lead to unwanted behaviour.
    158158*/
    159 char* IniParser::getVar(const char* name, char* section, char* defvalue = "")
     159const char* IniParser::getVar(const char* name, const char* section, const char* defvalue = "")
    160160{
    161161  strcpy (internbuf, defvalue);
Note: See TracChangeset for help on using the changeset viewer.