public void SetDatabase(WritableDatabase db) { XapianPINVOKE.TermGenerator_SetDatabase(swigCPtr, WritableDatabase.getCPtr(db)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public WritableDatabase(WritableDatabase other) : this(XapianPINVOKE.new_WritableDatabase__SWIG_2(WritableDatabase.getCPtr(other)), true) { if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }