MCPcopy Create free account
hub / github.com/defold/defold / GetStringOverride

Function GetStringOverride

engine/dlib/src/dlib/configfile.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static 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
118static int32_t GetBaseInt(HConfigFile config, const char* key, int32_t default_value)
119{

Callers 1

ConfigFileGetStringFunction · 0.85

Calls 1

GetFirstExtensionFunction · 0.70

Tested by

no test coverage detected