func (h *Haptic) UpdateEffect(effect int, data *HapticEffect) int { _data := (*C.SDL_HapticEffect)(unsafe.Pointer(data)) return int(C.SDL_HapticUpdateEffect(h.cptr(), C.int(effect), _data)) }
func (haptic *Haptic) UpdateEffect(effect int, data *HapticEffect) int { _haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic)) _effect := (C.int)(effect) _data := (*C.SDL_HapticEffect)(unsafe.Pointer(data)) return (int)(C.SDL_HapticUpdateEffect(_haptic, _effect, _data)) }