public void SetStopper(Stopper stop) { XapianPINVOKE.TermGenerator_SetStopper__SWIG_0(swigCPtr, Stopper.getCPtr(stop)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }