Function sdl2_sys::SDL_hid_exit

source ·
pub unsafe extern "C" fn SDL_hid_exit() -> c_int
Expand description

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 and -1 on error.

\since This function is available since SDL 2.0.18.

\sa SDL_hid_init