-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Leptonica API to access internals of Box #3851
base: main
Are you sure you want to change the base?
Conversation
See also #3673 (comment). Please review carefully (the modified code is not covered by unittests, and I don't want to introduce new bugs). |
Signed-off-by: Stefan Weil <[email protected]>
I reviewed this patch. I looks right, but too verbose :( I approve it. |
I think we need wrappers here.
|
Another option is to add
and
to Leptonica's public interface. In C++17 code we can use structured binding (like in Egor's example). |
|
Next major release can jump into C++20 already. |
@stweil, I don't understand your comment. We already require C++17 since 5.0.0. |
Patch looks good to me. |
Can we merge this or are we waiting for something? |
Signed-off-by: Stefan Weil [email protected]