sdlHidExit function
Finalize the HIDAPI library.
This function frees all of the static data associated with HIDAPI. It should be called at the end of execution to avoid memory leaks.
\returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.1.3.
\sa SDL_hid_init
extern SDL_DECLSPEC int SDLCALL SDL_hid_exit(void)
Implementation
int sdlHidExit() {
final sdlHidExitLookupFunction =
libSdl3.lookupFunction<Int32 Function(), int Function()>('SDL_hid_exit');
return sdlHidExitLookupFunction();
}