示例#1
0
        public static bool DontWatchFile(Filename file, SWIGTYPE_p_f_r_q_const__Filename_Int_p_void__Int32 callback, SWIGTYPE_p_void userdata)
        {
            bool ret = C4dApiPINVOKE.FileMonitor_DontWatchFile(Filename.getCPtr(file), SWIGTYPE_p_f_r_q_const__Filename_Int_p_void__Int32.getCPtr(callback), SWIGTYPE_p_void.getCPtr(userdata));

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