1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-01-17 22:22:53 +08:00

7 Commits

Author SHA1 Message Date
benhoyt@gmail.com
ee0443facf As per issue 4, document more explicitly that ini_parse() doesn't stop on first error. 2010-09-27 14:11:29 +00:00
benhoyt@gmail.com
d1939f4857 Fix issue 5:
* ';' comments must have ';' preceded by whitespace char
* add '#' comments as per Python's ConfigParser
* added unit tests for the above
2010-09-27 13:56:09 +00:00
benhoyt
232b1d01eb Fixed Issue 3: INIReader::GetInteger() was buggy because the scope of the string Get() returned was too temporary for how I was using it's c_str(). Thanks, dreamer.dead for the bug report.
Included <cstdlib> in INIReader.cpp to get strtol().
Make ini.h have extern "C" wrapper in it so it's easier to include from C++ code (gcc seemed to do this automagically, but MSVC not so much).
2009-09-30 09:10:38 +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
benhoyt
ff639beb56 Committing simple config file example as per project home page. 2009-07-10 10:11:38 +00:00
benhoyt
6aae10568f First commit. Basically just committing what I published in the blog entry. 2009-07-10 09:48:46 +00:00