func LoadMUSType_RW(src *sdl.RWops, type_ MusicType, freesrc int) *Music { _src := (*C.SDL_RWops)(unsafe.Pointer(src)) _type := (C.Mix_MusicType)(type_) _freesrc := (C.int)(freesrc) return (*Music)(unsafe.Pointer(C.Mix_LoadMUSType_RW(_src, _type, _freesrc))) }
func LoadMUSType_RW(src *sdl.RWops, type_ MusicType, freesrc int) (mus *Music, err error) { _src := (*C.SDL_RWops)(unsafe.Pointer(src)) _type := (C.Mix_MusicType)(type_) _freesrc := (C.int)(freesrc) mus = (*Music)(unsafe.Pointer(C.Mix_LoadMUSType_RW(_src, _type, _freesrc))) if mus == nil { err = sdl.GetError() } return }