From 239f350a72883fd358b213976408be91fecb6e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Tue, 14 Oct 2014 22:46:11 +0200 Subject: [PATCH] remove const from C API TessResultIteratorGetChoiceIterator (issue 1342) --- api/capi.cpp | 2 +- api/capi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/capi.cpp b/api/capi.cpp index 9511b16db6..6fbd364bbc 100644 --- a/api/capi.cpp +++ b/api/capi.cpp @@ -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); } diff --git a/api/capi.h b/api/capi.h index e813916cfc..82a6b55b9a 100644 --- a/api/capi.h +++ b/api/capi.h @@ -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);