public static int is_same(cef_extension_t *self, cef_extension_t *that)
        {
            is_same_delegate d;
            var p = self->_is_same;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            return(d(self, that));
        }
        public static int is_same(cef_request_context_t *self, cef_request_context_t *other)
        {
            is_same_delegate d;
            var p = self->_is_same;

            if (p == _p3)
            {
                d = _d3;
            }
            else
            {
                d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
                if (_p3 == IntPtr.Zero)
                {
                    _d3 = d; _p3 = p;
                }
            }
            return(d(self, other));
        }
        public static int is_same(cef_task_runner_t *self, cef_task_runner_t *that)
        {
            is_same_delegate d;
            var p = self->_is_same;

            if (p == _p3)
            {
                d = _d3;
            }
            else
            {
                d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
                if (_p3 == IntPtr.Zero)
                {
                    _d3 = d; _p3 = p;
                }
            }
            return(d(self, that));
        }
Example #4
0
        public static int is_same(cef_binary_value_t *self, cef_binary_value_t *that)
        {
            is_same_delegate d;
            var p = self->_is_same;

            if (p == _p6)
            {
                d = _d6;
            }
            else
            {
                d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
                if (_p6 == IntPtr.Zero)
                {
                    _d6 = d; _p6 = p;
                }
            }
            return(d(self, that));
        }
Example #5
0
 public static int is_same(cef_browser_t* self, cef_browser_t* that)
 {
     is_same_delegate d;
     var p = self->_is_same;
     if (p == _pd) { d = _dd; }
     else
     {
         d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
         if (_pd == IntPtr.Zero) { _dd = d; _pd = p; }
     }
     return d(self, that);
 }
 public static int is_same(cef_request_context_t* self, cef_request_context_t* other)
 {
     is_same_delegate d;
     var p = self->_is_same;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     return d(self, other);
 }