Пример #1
0
 internal static HandleRef getCPtr(Weight obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #2
0
 public void RegisterWeightingScheme(Weight wt)
 {
     XapianPINVOKE.Registry_RegisterWeightingScheme(swigCPtr, Weight.getCPtr(wt));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #3
0
 public void SetWeightingScheme(Weight weight)
 {
     XapianPINVOKE.Enquire_SetWeightingScheme(swigCPtr, Weight.getCPtr(weight));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }