mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-21 13:47:50 +08:00
52f5e5b8fb
1. Delete useless ifdefs. 2. Move C++ includes into source file. C code does not care about any C++ headers. 3. Replace TESS_CAPI_INCLUDE_BASEAPI with simple __cplusplus macro. 4. In capi.cpp remove enclosing namespace tesseract, so symbols have their according decls back. In capi.cpp we - put capi.h after all C++ headers, so we can remove some typedefs later, - put using namespace tesseract between them, so C++ symbols are visible to functions in the file without namespace. |
||
---|---|---|
.. | ||
baseapi.h | ||
capi.h | ||
export.h | ||
ltrresultiterator.h | ||
ocrclass.h | ||
osdetect.h | ||
pageiterator.h | ||
publictypes.h | ||
renderer.h | ||
resultiterator.h | ||
thresholder.h | ||
unichar.h | ||
version.h.in |