Releases: benhoyt/inih
inih version 52
Add INI_CUSTOM_ALLOCATOR to allow using a custom memory allocator. Per the README:
By default when using the heap, the standard library's
malloc,free, andreallocfunctions are used; to use a custom allocator, specify-DINI_CUSTOM_ALLOCATOR=1(and-DINI_USE_STACK=0). You must define and link functions namedini_malloc,ini_free, and (ifINI_ALLOW_REALLOCis set)ini_realloc, which must have the same signatures as thestdlib.hmemory allocation functions.
See tests/unittest_alloc.c for an example.
Fixes #118.
inih version 51
inih version 50
inih version 49
Meson build updates and options, README tweak (no code changes)
inih version 48
Added meson.build. Thanks @stephanlachnit.
inih version 47
inih version 46
Add INI_ALLOW_NO_VALUE: by default, inih treats a name with no value (no = or : on the line) as an error. To allow names with no values, add -DINI_ALLOW_NO_VALUE=1, and inih will call your handler function with value set to NULL. Thanks @weltling.
inih version 45
Ensure INI_CALL_HANDLER_ON_NEW_SECTION is always defined. Add copyright and SPDX-License fields to source files.
inih version 44
Add HasSection() to C++ API. #81