Exemplo n.º 1
0
        public bool SendHookMessage(BaseDocument doc, GvNodeMaster master, GvMessHook data, int owner_id)
        {
            bool ret = C4dApiPINVOKE.GvWorld_SendHookMessage(swigCPtr, BaseDocument.getCPtr(doc), GvNodeMaster.getCPtr(master), GvMessHook.getCPtr(data), owner_id);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GvMessHook obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }