mirror of
https://github.com/benhoyt/inih.git
synced 2025-02-01 15:02:53 +08:00
As per issue 4, document more explicitly that ini_parse() doesn't stop on first error.
This commit is contained in:
parent
d1939f4857
commit
ee0443facf
4
ini.h
4
ini.h
@ -23,8 +23,8 @@ extern "C" {
|
||||
pointer as well as section, name, and value (data only valid for duration
|
||||
of handler call). Handler should return nonzero on success, zero on error.
|
||||
|
||||
Returns 0 on success, line number of first error on parse error, or -1 on
|
||||
file open error.
|
||||
Returns 0 on success, line number of first error on parse error (doesn't
|
||||
stop on first error), or -1 on file open error.
|
||||
*/
|
||||
int ini_parse(const char* filename,
|
||||
int (*handler)(void* user, const char* section,
|
||||
|
Loading…
x
Reference in New Issue
Block a user