Esempio n. 1
0
        public static void cancel(cef_callback_t *self)
        {
            cancel_delegate d;
            var             p = self->_cancel;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            d(self);
        }
Esempio n. 2
0
        public static void cancel(cef_urlrequest_t *self)
        {
            cancel_delegate d;
            var             p = self->_cancel;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            d(self);
        }
        public static void cancel(cef_get_extension_resource_callback_t *self)
        {
            cancel_delegate d;
            var             p = self->_cancel;

            if (p == _p5)
            {
                d = _d5;
            }
            else
            {
                d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
                if (_p5 == IntPtr.Zero)
                {
                    _d5 = d; _p5 = p;
                }
            }
            d(self);
        }
 public static void cancel(cef_file_dialog_callback_t* self)
 {
     cancel_delegate d;
     var p = self->_cancel;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     d(self);
 }
 public static void cancel(cef_download_item_callback_t* self)
 {
     cancel_delegate d;
     var p = self->_cancel;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     d(self);
 }
 public static void cancel(cef_urlrequest_t* self)
 {
     cancel_delegate d;
     var p = self->_cancel;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (cancel_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cancel_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     d(self);
 }