Function sdl2_sys::SDL_RWsize

source ·
pub unsafe extern "C" fn SDL_RWsize(context: *mut SDL_RWops) -> Sint64
Expand description

Use this function to get the size of the data stream in an SDL_RWops.

Prior to SDL 2.0.10, this function was a macro.

\param context the SDL_RWops to get the size of the data stream from \returns the size of the data stream in the SDL_RWops on success, -1 if unknown or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.10.