sdlLogGetPriority function
Get the priority of a particular log category.
\param category the category to query \returns the SDL_LogPriority for the requested category
\since This function is available since SDL 2.0.0.
\sa SDL_LogSetPriority
extern DECLSPEC SDL_LogPriority SDLCALL SDL_LogGetPriority(int category)
Implementation
int sdlLogGetPriority(int category) {
final sdlLogGetPriorityLookupFunction = libSdl2.lookupFunction<
Int32 Function(Int32 category),
int Function(int category)>('SDL_LogGetPriority');
return sdlLogGetPriorityLookupFunction(category);
}