internal static HandleRef getCPtr(CustomDataTypeClass obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public static bool RegisterCustomDataTypePlugin(string /* constString&_cstype */ str, int info, CustomDataTypeClass dat, int disclevel) { bool ret = C4dApiPINVOKE.RegisterCustomDataTypePlugin(str, info, CustomDataTypeClass.getCPtr(dat), disclevel); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }