func (ctx *RWops) RWclose() int { if ctx == nil { return 0 } _ctx := (*C.SDL_RWops)(unsafe.Pointer(ctx)) return (int)(C.RWclose(_ctx)) }
func (rw *RWops) Close() error { if int(C.RWclose((*C.SDL_RWops)(rw))) != 0 { return errors.New(GetError()) } return nil }
func (ctx *RWops) RWclose() int { if ctx == nil { return 0 } return int(C.RWclose(ctx.cptr())) }
// RWclose (https://wiki.libsdl.org/SDL_RWclose) func (ctx *RWops) RWclose() error { if ctx != nil && C.RWclose(ctx.cptr()) != 0 { return GetError() } return nil }