MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xIniGetString

Function xIniGetString

src/SB/Core/x/xIni.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194char* xIniGetString(xIniFile* ini, char* tok, char* def)
195{
196 S32 index = xIniGetIndex(ini, tok);
197 if (index == -1)
198 {
199 return def;
200 }
201 return ini->Values[index].val;
202}

Callers 4

load_settingsMethod · 0.85
zMainParseINIGlobalsFunction · 0.85
zMainReadINIFunction · 0.85
zUI_ParseINIFunction · 0.85

Calls 1

xIniGetIndexFunction · 0.85

Tested by

no test coverage detected