public static cef_string_userfree *get_link_url(cef_context_menu_params_t *self)
        {
            get_link_url_delegate d;
            var p = self->_get_link_url;

            if (p == _p6)
            {
                d = _d6;
            }
            else
            {
                d = (get_link_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_link_url_delegate));
                if (_p6 == IntPtr.Zero)
                {
                    _d6 = d; _p6 = p;
                }
            }
            return(d(self));
        }
Example #2
0
        public static cef_string_userfree *get_link_url(cef_drag_data_t *self)
        {
            get_link_url_delegate d;
            var p = self->_get_link_url;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (get_link_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_link_url_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            return(d(self));
        }
Example #3
0
 public static cef_string_userfree* get_link_url(cef_drag_data_t* self)
 {
     get_link_url_delegate d;
     var p = self->_get_link_url;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (get_link_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_link_url_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     return d(self);
 }
 public static cef_string_userfree* get_link_url(cef_context_menu_params_t* self)
 {
     get_link_url_delegate d;
     var p = self->_get_link_url;
     if (p == _p6) { d = _d6; }
     else
     {
         d = (get_link_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_link_url_delegate));
         if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; }
     }
     return d(self);
 }