ini icon indicating copy to clipboard operation
ini copied to clipboard

A tiny ANSI C library for loading .ini config files

Results 6 ini issues
Sort by recently updated
recently updated
newest added

It'd be useful to be able to test if a particular section exists before trying to read anything from it. This would allow for creating relevant structures in advance. And...

how can i set value?

Some non-standard libc's (such as on game SDKs or other embedded systems) do not do null checks before freeing memory. I think at least the `free(ini->data)` line in ini.c should...

It's not possible to use malloc without a cast as g++ treats it as an invalid conversion. Initializing a char pointer with an empty string will also issue a warning,...

Not handling this case may result in a segfault (at best). This pull request is minimal and follows closely the original coding style.

It compiles and runs the blocks extracted from README.md