Ejemplo n.º 1
0
 internal static HandleRef getCPtr(Registry obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 2
0
 public Registry(Registry other)
     : this(XapianPINVOKE.new_Registry__SWIG_0(Registry.getCPtr(other)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 3
0
 public static Query Unserialise(string s, Registry registry)
 {
     Query ret = new Query(XapianPINVOKE.Query_Unserialise__SWIG_1(s, Registry.getCPtr(registry)), true);
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }