Ejemplo n.º 1
0
 public static HandleRef getCPtrAndSetReference(AsyncReader obj, object parent) {
   if (obj != null)
   {
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
Ejemplo n.º 2
0
 public static HandleRef getCPtrAndSetReference(AsyncReader obj, object parent) {
   if (obj != null)
   {
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
Ejemplo n.º 3
0
 public static HandleRef getCPtrAndDisown(AsyncReader obj, object parent) {
   if (obj != null)
   {
     obj.swigCMemOwn = false;
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
Ejemplo n.º 4
0
 public static HandleRef getCPtrAndDisown(AsyncReader obj, object parent) {
   if (obj != null)
   {
     obj.swigCMemOwn = false;
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
Ejemplo n.º 5
0
 public static HandleRef getCPtr(AsyncReader obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 6
0
 public static HandleRef getCPtr(AsyncReader obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }