Skip to content

Conversation

@stweil
Copy link
Member

@stweil stweil commented Jul 5, 2025

Remove the private static char pointers from osdetect.h.

This does not break the API because the removed pointers are no member variables, and they could not be accessed because they were private.

As all script names were used only once, there is also no need to have additional pointer constants, and using the names directly simplifies the code.

Remove the private static char pointers from osdetect.h.

This does not break the API because the removed pointers are no
member variables, and they could not be accessed because they
were private.

As all script names were used only once, there is also no need
to have additional pointer constants, and using the names
directly simplifies the code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil stweil merged commit d359d89 into tesseract-ocr:main Jul 6, 2025
6 checks passed
@stweil stweil deleted the osdetect branch July 6, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants