SDL module

SDL_RWops

structforeignSource

Fields

size: #type (context: *SDL_RWops) -> s64 #c_call
seek: #type (context: *SDL_RWops, offset: s64, whence: s32) -> s64 #c_call
read: #type (context: *SDL_RWops, ptr: *void, size: u64, maxnum: u64) -> u64 #c_call
write: #type (context: *SDL_RWops, ptr: *void, size: u64, num: u64) -> u64 #c_call
close: #type (context: *SDL_RWops) -> s32 #c_call
type: u32
hidden: union { #if OS == .WINDOWS { bytes: [40] u8; pointers: [5] *void; } else { bytes: [24] u8; pointers: [3] *void; } }

See also