pub struct SDL_RWops {
pub size: extern "C" fn(context: *SDL_RWops) -> int64_t,
pub seek: extern "C" fn(context: *SDL_RWops, offset: int64_t, whence: c_int) -> int64_t,
pub read: extern "C" fn(context: *SDL_RWops, ptr: *c_void, size: size_t, maxnum: size_t) -> size_t,
pub write: extern "C" fn(context: *SDL_RWops, ptr: *c_void, size: size_t, maxnum: size_t) -> size_t,
pub close: extern "C" fn(context: *SDL_RWops) -> c_int,
pub _type: uint32_t,
// some fields omitted
}
Fields
size | |
seek | |
read | |
write | |
close | |
_type | |