Skip to content

Commit b0b8dfb

Browse files
committed
TessResultRenderer: Extend API to access status of renderer
Signed-off-by: Stefan Weil <[email protected]>
1 parent 9c2d1aa commit b0b8dfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/renderer.h

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ class TESS_API TessResultRenderer {
8080
const char* file_extension() const { return file_extension_; }
8181
const char* title() const { return title_.c_str(); }
8282

83+
// Is everything fine? Otherwise something went wrong.
84+
bool happy() { return happy_; }
85+
8386
/**
8487
* Returns the index of the last image given to AddImage
8588
* (i.e. images are incremented whether the image succeeded or not)

0 commit comments

Comments
 (0)