Exemplo n.º 1
0
        public static int is_uint(cef_v8value_t *self)
        {
            is_uint_delegate d;
            var p = self->_is_uint;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (is_uint_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_uint_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            return(d(self));
        }
Exemplo n.º 2
0
 public static int is_uint(cef_v8value_t* self)
 {
     is_uint_delegate d;
     var p = self->_is_uint;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (is_uint_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_uint_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     return d(self);
 }