Added clearer comment for use of config_get_string.

This commit is contained in:
robijn
2001-12-02 17:26:04 +00:00
parent 390276a972
commit 6124c616b6
+3 -2
View File
@@ -47,8 +47,9 @@ double config_get_float( char *sectionname, char *keyname,
char *config_get_string( char * sectionname, char * keyname, char *config_get_string( char * sectionname, char * keyname,
int skip, char * default_value ); int skip, char * default_value );
// Returns a pointer to the string associated with the specified key. // Returns a pointer to the string associated with the specified key.
// The string should never be modified, but for example immediately be // The string should never be modified, and used only short-term. You can
// copied. // for example scan it or copy it. In successive calls this function can
// re-use the data space !
int config_has_section( char *sectionname ); int config_has_section( char *sectionname );
// Checks if a specified section exists. // Checks if a specified section exists.