Skip to content

Commit 7914ad7

Browse files
committed
Mention that ini_handler "section" and "name" can't be modified
1 parent 4adf382 commit 7914ad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ini.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ extern "C" {
5151
5252
Note that even though the value parameter has type "const char*", the user
5353
may cast to "char*" and modify its content, as the value is not used again
54-
after the call to ini_handler.
54+
after the call to ini_handler. This is not true of section and name --
55+
those must not be modified.
5556
*/
5657
#if INI_HANDLER_LINENO
5758
typedef int (*ini_handler)(void* user, const char* section,

0 commit comments

Comments
 (0)