Function SDL_hid_exit

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

§Return value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.

§See also