public static void go_forward(cef_browser_t *self)
        {
            go_forward_delegate d;
            var p = self->_go_forward;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (go_forward_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(go_forward_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            d(self);
        }
Exemple #2
0
 public static void go_forward(cef_browser_t* self)
 {
     go_forward_delegate d;
     var p = self->_go_forward;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (go_forward_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(go_forward_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     d(self);
 }