| 479 | } |
| 480 | |
| 481 | inline std::string INIReader::MakeKey(std::string section, std::string name) |
| 482 | { |
| 483 | std::string key = section + "=" + name; |
| 484 | // Convert to lower case to make section/name lookups case-insensitive |
| 485 | std::transform(key.begin(), key.end(), key.begin(), ::tolower); |
| 486 | return key; |
| 487 | } |
| 488 | |
| 489 | inline int INIReader::ValueHandler(void* user, const char* section, const char* name, |
| 490 | const char* value) |