public static int clear(cef_list_value_t *self)
        {
            clear_delegate d;
            var            p = self->_clear;

            if (p == _p9)
            {
                d = _d9;
            }
            else
            {
                d = (clear_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(clear_delegate));
                if (_p9 == IntPtr.Zero)
                {
                    _d9 = d; _p9 = p;
                }
            }
            return(d(self));
        }
Beispiel #2
0
 public static int clear(cef_list_value_t* self)
 {
     clear_delegate d;
     var p = self->_clear;
     if (p == _p9) { d = _d9; }
     else
     {
         d = (clear_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(clear_delegate));
         if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; }
     }
     return d(self);
 }
Beispiel #3
0
 public static int clear(cef_menu_model_t* self)
 {
     clear_delegate d;
     var p = self->_clear;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (clear_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(clear_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     return d(self);
 }