public SdfSpec __deref__()
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfSpecHandle___deref__(swigCPtr);
            SdfSpec ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfSpec(cPtr, false);

            return(ret);
        }
 public SdfSpecHandle(SdfSpec spec) : this(UsdCsPINVOKE.new_SdfSpecHandle__SWIG_1(SdfSpec.getCPtr(spec)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfSpec obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }