Skip to content

Commit

Permalink
Replace tprintf comment in API header
Browse files Browse the repository at this point in the history
tprintf is not part of the public API, so replace it by printf.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 23, 2021
1 parent 07e319a commit a8bdc78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tesseract/unichar.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ class TESS_API UNICHAR {
// for (UNICHAR::const_iterator it = UNICHAR::begin(str, str_len);
// it != UNICHAR::end(str, len);
// ++it) {
// tprintf("UCS-4 symbol code = %d\n", *it);
// printf("UCS-4 symbol code = %d\n", *it);
// char buf[5];
// int char_len = it.get_utf8(buf); buf[char_len] = '\0';
// tprintf("Char = %s\n", buf);
// printf("Char = %s\n", buf);
// }
class TESS_API const_iterator {
using CI = const_iterator;
Expand Down

0 comments on commit a8bdc78

Please sign in to comment.