func (h *Haptic) NewEffect(he *HapticEffect) int { _he := (*C.SDL_HapticEffect)(unsafe.Pointer(he)) return int(C.SDL_HapticNewEffect(h.cptr(), _he)) }
func (haptic *Haptic) NewEffect(effect *HapticEffect) int { _haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic)) _effect := (*C.SDL_HapticEffect)(unsafe.Pointer(effect)) return (int)(C.SDL_HapticNewEffect(_haptic, _effect)) }