MCPcopy Create free account
hub / github.com/creatale/node-dv / AddIntConfig

Function AddIntConfig

deps/tesseract/classify/intproto.cpp:270–278  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

268 * @note History: Mon Feb 11 14:44:40 1991, DSJ, Created.
269 */
270int 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/**

Callers 3

InitAdaptedClassMethod · 0.85
CreateIntTemplatesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected