Format API headers with clang-format

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2021-10-30 10:00:27 +02:00
parent ca9ea78494
commit 2a66694754
3 changed files with 5 additions and 7 deletions

View File

@ -154,7 +154,7 @@ public:
/**
* Print Tesseract fonts table to the given file.
*/
void PrintFontsTable(FILE* fp) const;
void PrintFontsTable(FILE *fp) const;
#endif

View File

@ -282,8 +282,7 @@ enum class ThresholdMethod {
Otsu, // Tesseract's legacy Otsu
LeptonicaOtsu, // Leptonica's Otsu
Sauvola, // Leptonica's Sauvola
Max, // Number of Thresholding methods
Max, // Number of Thresholding methods
};
} // namespace tesseract.

View File

@ -141,13 +141,12 @@ protected:
void AppendData(const char *s, int len);
private:
TessResultRenderer *next_; // Can link multiple renderers together
FILE *fout_; // output file pointer
TessResultRenderer *next_; // Can link multiple renderers together
FILE *fout_; // output file pointer
const char *file_extension_; // standard extension for generated output
std::string title_; // title of document being rendered
int imagenum_; // index of last image added
bool happy_; // I get grumpy when the disk fills up, etc.
bool happy_; // I get grumpy when the disk fills up, etc.
};
/**