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

Function WriteTempConfig

deps/tesseract/classify/adaptive.cpp:559–568  ·  view source on GitHub ↗

---------------------------------------------------------------------------*/ * This routine writes a binary representation of a * temporary configuration to File. * * @param File open file to write Config to * @param Config temporary config to write to File * * @note Globals: none * @note Exceptions: none * @note History: Tue Mar 19 14:00:28 1991, DSJ, Created. */

Source from the content-addressed store, hash-verified

557 * @note History: Tue Mar 19 14:00:28 1991, DSJ, Created.
558 */
559void WriteTempConfig(FILE *File, TEMP_CONFIG Config) {
560 assert (Config != NULL);
561 /* contexts not yet implemented */
562 assert (Config->ContextsSeen == NULL);
563
564 fwrite ((char *) Config, sizeof (TEMP_CONFIG_STRUCT), 1, File);
565 fwrite ((char *) Config->Protos, sizeof (uinT32),
566 Config->ProtoVectorSize, File);
567
568} /* WriteTempConfig */

Callers 1

WriteAdaptedClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected