Beispiel #1
0
        public static int can_bubble(cef_domevent_t *self)
        {
            can_bubble_delegate d;
            var p = self->_can_bubble;

            if (p == _p6)
            {
                d = _d6;
            }
            else
            {
                d = (can_bubble_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(can_bubble_delegate));
                if (_p6 == IntPtr.Zero)
                {
                    _d6 = d; _p6 = p;
                }
            }
            return(d(self));
        }
Beispiel #2
0
 public static int can_bubble(cef_domevent_t* self)
 {
     can_bubble_delegate d;
     var p = self->_can_bubble;
     if (p == _p6) { d = _d6; }
     else
     {
         d = (can_bubble_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(can_bubble_delegate));
         if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; }
     }
     return d(self);
 }