示例#1
0
 public static HandleRef getCPtrAndSetReference(GDALGridOptions obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
示例#2
0
 public static HandleRef getCPtr(GDALGridOptions obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }