SDL_ttf icon indicating copy to clipboard operation
SDL_ttf copied to clipboard

UNICODE_BOM_NATIVE, UNICODE_BOM_SWAPPED not in library namespace

Open smcv opened this issue 6 months ago • 1 comments

While packaging a snapshot in Debian I noticed that when man pages are enabled, this library installs UNICODE_BOM_NATIVE(3), which isn't in the SDL or TTF_ namespace and seems likely to conflict with other packages.

Looking at the header file, there's also UNICODE_BOM_SWAPPED (which is undocumented, therefore no man page).

Are these needed in the public API of the library, or are they only useful internally?

If they should be public API, could they be renamed to TTF_UNICODE_BOM_NATIVE and TTF_UNICODE_BOM_SWAPPED to bring them into the library's namespace?

smcv avatar Jul 30 '24 16:07 smcv