예제 #1
0
 public static HandleRef getCPtrAndSetReference(GDALTranslateOptions 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(GDALTranslateOptions obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }