public static cef_string_userfree *get_source_url(cef_context_menu_params_t *self)
        {
            get_source_url_delegate d;
            var p = self->_get_source_url;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (get_source_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_source_url_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            return(d(self));
        }
Пример #2
0
 public static cef_string_userfree* get_source_url(cef_context_menu_params_t* self)
 {
     get_source_url_delegate d;
     var p = self->_get_source_url;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (get_source_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_source_url_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     return d(self);
 }