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).
2 files changed
tree: f5c78de21387a0db8509ff29a1d7f45c18507f3b
  1. cpp/
  2. examples/
  3. tests/
  4. ini.c
  5. ini.h
  6. LICENSE.txt
  7. README.txt