Ben Hoyt
1e80a47dff
Add INI_CUSTOM_ALLOCATOR to allow using a custom memory allocator ( #119 )
...
Fixes https://github.com/benhoyt/inih/issues/118
2020-10-13 21:25:18 +13:00
Anatol Belski
82fdde3fcf
Allow handler to be called on a key without '=' or ':' ( #87 )
2019-10-05 10:27:07 -04:00
ksdhans
be59185856
Add option to call handler when a new section is encountered ( #79 )
...
Some programs have ini files with multiple sections that have the same name, which would make it very useful to know when a new section is encountered.
This patch adds this ability as an option that's enabled by setting INI_CALL_HANDLER_ON_NEW_SECTION to 1
2019-04-08 08:44:21 -04:00
Ben Hoyt
d709bdac5b
Add support for realloc for very long lines ( fixes #61 )
2017-12-14 16:01:30 -05:00
Ben Hoyt
56edbbbef9
Add ini_parse_string() function for issue #57 , initially suggested in PR #38
2017-05-31 08:52:42 -04:00
Ben Hoyt
30a85920d1
Support for reporting current line
...
This is @MaG21's PR #56 but solved a different way, using compile-time flags so it's zero-overhead if you don't need it.
2016-12-29 10:53:49 -05:00
Ben Hoyt
12758aae01
Delete unittest binaries after use
2016-10-11 09:33:13 -04:00
Ben Hoyt
dbf771afeb
Issue #55 : handle empty value immediately followed by comment
2016-10-11 09:31:22 -04:00