public SWIGTYPE_p_DescIdInfo Find(DescID key, SWIGTYPE_p_DescIdInfo tmp) { global::System.IntPtr cPtr = C4dApiPINVOKE.DescIdInfoArray_Find(swigCPtr, DescID.getCPtr(key), SWIGTYPE_p_DescIdInfo.getCPtr(tmp)); SWIGTYPE_p_DescIdInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_DescIdInfo(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_DescIdInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }