| 104 | } |
| 105 | |
| 106 | static bool GetStringOverride(HConfigFile config, const char* key, const char* default_value, const char** out_value) |
| 107 | { |
| 108 | const ConfigFilePluginDesc* plugin = GetFirstExtension(); |
| 109 | while (plugin != 0) |
| 110 | { |
| 111 | if (plugin->m_GetString && plugin->m_GetString(config, key, default_value, out_value)) |
| 112 | return true; |
| 113 | plugin = plugin->m_Next; |
| 114 | } |
| 115 | return false; |
| 116 | } |
| 117 | |
| 118 | static int32_t GetBaseInt(HConfigFile config, const char* key, int32_t default_value) |
| 119 | { |
no test coverage detected