Esempio n. 1
0
        public static int enter(cef_v8context_t *self)
        {
            enter_delegate d;
            var            p = self->_enter;

            if (p == _p9)
            {
                d = _d9;
            }
            else
            {
                d = (enter_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(enter_delegate));
                if (_p9 == IntPtr.Zero)
                {
                    _d9 = d; _p9 = p;
                }
            }
            return(d(self));
        }
 public static int enter(cef_v8context_t* self)
 {
     enter_delegate d;
     var p = self->_enter;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (enter_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(enter_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     return d(self);
 }