Added clearer comment for use of config_get_string.
This commit is contained in:
+3
-2
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user