1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-02-05 07:08:23 +08:00

4 Commits

Author SHA1 Message Date
benhoyt
ff894434f9 Issue 18: Fixed multi-line handling in C++ wrapper, per jeffhawke77. 2012-03-07 02:02:37 +00:00
benhoyt@gmail.com
9ec69b2a1d Added GetBoolean() to C++ API.
Used std::transform() to convert strings to lower instead of for loop.
2011-06-24 18:23:13 +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
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