Ben Hoyt
a5896a47c5
Add ini_parse_stream() function for custom I/O, for example string I/O.
...
Add ini_handler typedef to simplify function prototypes, and take the same approach for ini_reader.
See https://github.com/benhoyt/inih/pull/38
2015-07-30 18:33:01 -04:00
benhoyt@gmail.com
111c3ec086
Added GetReal() to parse a floating point number (double) in C++ INIReader interface.
...
See: http://blog.brush.co.nz/2009/02/inih/#comment-160441
2013-08-14 21:58:41 +00:00
benhoyt@gmail.com
4de5b3ca6b
Fixed issue 20: Replaced use of non-portable stricmp() in examples with strcmp().
2012-08-26 21:27:06 +00:00
benhoyt
40de3a7f8d
Per issue 13, return error status from handler() in example.
2011-10-29 17:20:11 +00:00
benhoyt@gmail.com
328c3d4f8a
Issue 11: changed Subversion eol-style to native.
2011-06-27 19:44:29 +00:00
benhoyt@gmail.com
b1170c9568
Issue 7: Factored out ini_parse_file() so users can parse INI file with just a FILE* instead of a filename, and use fmemopen.
...
Forgot to commit examples/test.ini in previous commit.
Fix strncmp redefine warning when compiling tests/unittest.c.
2011-06-24 18:48:58 +00:00
benhoyt
37732b84a8
Added X-Macros example.
...
Simplified INIReaderTest.cpp.
2009-08-20 23:32:33 +00:00
benhoyt
4d08274b35
Moved examples to their own examples/ dir.
...
Only define INI_ALLOW_MULTILINE if it's not already defined.
Added C++ INIReader class.
Moved license into LICENSE.txt, added README.txt.
Added unit tests and checked in baseline files.
Made line lengths < 80 chars.
2009-08-20 21:59:32 +00:00