This is from sws_util.cpp:
Code:
void* GetConfigVar(const char* cVar)
{
int sztmp;
void* p = NULL;
if (int iOffset = projectconfig_var_getoffs(cVar, &sztmp))
{
p = projectconfig_var_addr(EnumProjects(-1, NULL, 0), iOffset);
}
else if (p = get_config_var(cVar, &sztmp))
{
}
else
{
p = get_midi_config_var(cVar, &sztmp);
}
return p;
}
I'm not sure how to use these functions, but f.ex.
projectconfig_var_getoffs() in EEL always returns "0".