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; |