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

Function boxaWriteDebug

deps/leptonica/src/boxbasic.c:2202–2214  ·  view source on GitHub ↗

! * \brief boxaWriteDebug() * * \param[in] filename * \param[in] boxa * \return 0 if OK; 1 on error * * * Notes: * (1) Debug version, intended for use in the library when writing * to files in a temp directory with names that are compiled in. * This is used instead of boxaWrite() for all such library calls. * (2) The global variable LeptDebugO

Source from the content-addressed store, hash-verified

2200 * </pre>
2201 */
2202l_int32
2203boxaWriteDebug(const char *filename,
2204 BOXA *boxa)
2205{
2206 PROCNAME("boxaWriteDebug");
2207
2208 if (LeptDebugOK) {
2209 return boxaWrite(filename, boxa);
2210 } else {
2211 L_INFO("write to named temp file %s is disabled\n", procName, filename);
2212 return 0;
2213 }
2214}
2215
2216
2217/*!

Callers 5

boxaSmoothSequenceLSFunction · 0.85
boxaSmoothSequenceMedianFunction · 0.85
boxaLinearFitFunction · 0.85
pixItalicWordsFunction · 0.85
pixGetRegionsBinaryFunction · 0.85

Calls 1

boxaWriteFunction · 0.85

Tested by

no test coverage detected