Function SDL_hid_exit

pub unsafe extern "C" fn SDL_hid_exit() -> i32
Available on crate feature dep_sdl2 only.
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