func (h *Haptic) RunEffect(effect int, iterations uint32) int { return int(C.SDL_HapticRunEffect(h.cptr(), C.int(effect), C.Uint32(iterations))) }
func (haptic *Haptic) RunEffect(effect int, iterations uint32) int { _haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic)) _effect := (C.int)(effect) _iterations := (C.Uint32)(iterations) return (int)(C.SDL_HapticRunEffect(_haptic, _effect, _iterations)) }