* This routine returns the index of the next free config * in Class. * * @param Class class to add new configuration to * * Globals: none * * @return Index of next free config. * @note Exceptions: none * @note History: Mon Feb 11 14:44:40 1991, DSJ, Created. */
| 268 | * @note History: Mon Feb 11 14:44:40 1991, DSJ, Created. |
| 269 | */ |
| 270 | int AddIntConfig(INT_CLASS Class) { |
| 271 | int Index; |
| 272 | |
| 273 | assert(Class->NumConfigs < MAX_NUM_CONFIGS); |
| 274 | |
| 275 | Index = Class->NumConfigs++; |
| 276 | Class->ConfigLengths[Index] = 0; |
| 277 | return Index; |
| 278 | } /* AddIntConfig */ |
| 279 | |
| 280 | |
| 281 | /** |
no outgoing calls
no test coverage detected