src/config.cpp

changeset 462
55173a35eea5
parent 461
fbcc91ae1dd2
child 463
22bdcca9f78d
equal deleted inserted replaced
461:fbcc91ae1dd2 462:55173a35eea5
187 return defstring; 187 return defstring;
188 } 188 }
189 189
190 // ============================================================================= 190 // =============================================================================
191 // ----------------------------------------------------------------------------- 191 // -----------------------------------------------------------------------------
192 void addConfig (Config* ptr) { 192 void Config::addToArray (Config* ptr) {
193 if (g_cfgPointerCursor == 0) 193 if (g_cfgPointerCursor == 0)
194 memset (g_configPointers, 0, sizeof g_configPointers); 194 memset (g_configPointers, 0, sizeof g_configPointers);
195 195
196 assert (g_cfgPointerCursor < MAX_CONFIG); 196 assert (g_cfgPointerCursor < MAX_CONFIG);
197 g_configPointers[g_cfgPointerCursor++] = ptr; 197 g_configPointers[g_cfgPointerCursor++] = ptr;

mercurial