public static int has_image_contents(cef_context_menu_params_t *self)
        {
            has_image_contents_delegate d;
            var p = self->_has_image_contents;

            if (p == _p9)
            {
                d = _d9;
            }
            else
            {
                d = (has_image_contents_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_image_contents_delegate));
                if (_p9 == IntPtr.Zero)
                {
                    _d9 = d; _p9 = p;
                }
            }
            return(d(self));
        }
Exemplo n.º 2
0
 public static int has_image_contents(cef_context_menu_params_t* self)
 {
     has_image_contents_delegate d;
     var p = self->_has_image_contents;
     if (p == _p9) { d = _d9; }
     else
     {
         d = (has_image_contents_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_image_contents_delegate));
         if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; }
     }
     return d(self);
 }