Esempio n. 1
0
 public void AddMessageHook(SWIGTYPE_p_BaseDrawMessageHook fn)
 {
     C4dApiPINVOKE.BaseDraw_AddMessageHook(swigCPtr, SWIGTYPE_p_BaseDrawMessageHook.getCPtr(fn));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_BaseDrawMessageHook obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }