Skip to content

Commit

Permalink
remove const from C API TessResultIteratorGetChoiceIterator (issue 1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Oct 14, 2014
1 parent 242b14a commit 239f350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ TESS_API const TessPageIterator* TESS_CALL TessResultIteratorGetPageIteratorCons
return handle;
}

TESS_API const TessChoiceIterator* TESS_CALL TessResultIteratorGetChoiceIterator(const TessResultIterator* handle)
TESS_API TessChoiceIterator* TESS_CALL TessResultIteratorGetChoiceIterator(const TessResultIterator* handle)
{
return new TessChoiceIterator(*handle);
}
Expand Down
2 changes: 1 addition & 1 deletion api/capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ TESS_API TessPageIterator*
TESS_CALL TessResultIteratorGetPageIterator(TessResultIterator* handle);
TESS_API const TessPageIterator*
TESS_CALL TessResultIteratorGetPageIteratorConst(const TessResultIterator* handle);
TESS_API const TessChoiceIterator*
TESS_API TessChoiceIterator*
TESS_CALL TessResultIteratorGetChoiceIterator(const TessResultIterator* handle);

TESS_API BOOL TESS_CALL TessResultIteratorNext(TessResultIterator* handle, TessPageIteratorLevel level);
Expand Down

0 comments on commit 239f350

Please sign in to comment.