getCPtr() static private method

static private getCPtr ( WritableDatabase obj ) : HandleRef
obj WritableDatabase
return System.Runtime.InteropServices.HandleRef
コード例 #1
0
 public void SetDatabase(WritableDatabase db)
 {
     XapianPINVOKE.TermGenerator_SetDatabase(swigCPtr, WritableDatabase.getCPtr(db));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public WritableDatabase(WritableDatabase other) : this(XapianPINVOKE.new_WritableDatabase__SWIG_2(WritableDatabase.getCPtr(other)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }