Skip to content

Commit

Permalink
Remove unused API function TessBaseAPIDetectOS
Browse files Browse the repository at this point in the history
It was not declared in capi.h, so external users could not use it anyway.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jul 5, 2018
1 parent 4ca452d commit 790b410
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/api/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,6 @@ TESS_API void TESS_CALL TessBaseAPISetProbabilityInContextFunc(TessBaseAPI* hand
handle->SetProbabilityInContextFunc(f);
}

TESS_API BOOL TESS_CALL TessBaseAPIDetectOS(TessBaseAPI* handle, OSResults* results)
{
return FALSE; // Unsafe ABI, return FALSE always
}

#ifndef DISABLED_LEGACY_ENGINE

TESS_API BOOL TESS_CALL TessBaseAPIDetectOrientationScript(TessBaseAPI* handle,
Expand Down

0 comments on commit 790b410

Please sign in to comment.