示例#1
0
        public static int will_rethrow_exceptions(cef_v8value_t *self)
        {
            will_rethrow_exceptions_delegate d;
            var p = self->_will_rethrow_exceptions;

            if (p == _p1a)
            {
                d = _d1a;
            }
            else
            {
                d = (will_rethrow_exceptions_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(will_rethrow_exceptions_delegate));
                if (_p1a == IntPtr.Zero)
                {
                    _d1a = d; _p1a = p;
                }
            }
            return(d(self));
        }
示例#2
0
 public static int will_rethrow_exceptions(cef_v8value_t* self)
 {
     will_rethrow_exceptions_delegate d;
     var p = self->_will_rethrow_exceptions;
     if (p == _p1a) { d = _d1a; }
     else
     {
         d = (will_rethrow_exceptions_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(will_rethrow_exceptions_delegate));
         if (_p1a == IntPtr.Zero) { _d1a = d; _p1a = p; }
     }
     return d(self);
 }