public void AddMatchspy(MatchSpy spy) { XapianPINVOKE.Enquire_AddMatchspy(swigCPtr, MatchSpy.getCPtr(spy)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public void RegisterMatchSpy(MatchSpy spy) { XapianPINVOKE.Registry_RegisterMatchSpy(swigCPtr, MatchSpy.getCPtr(spy)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }