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