コード例 #1
0
ファイル: cef_v8value_t.g.cs プロジェクト: mstroehle/lvcef
        public static cef_v8exception_t *get_exception(cef_v8value_t *self)
        {
            get_exception_delegate d;
            var p = self->_get_exception;

            if (p == _p18)
            {
                d = _d18;
            }
            else
            {
                d = (get_exception_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_exception_delegate));
                if (_p18 == IntPtr.Zero)
                {
                    _d18 = d; _p18 = p;
                }
            }
            return(d(self));
        }
コード例 #2
0
ファイル: cef_v8value_t.g.cs プロジェクト: whztt07/SDK
 public static cef_v8exception_t* get_exception(cef_v8value_t* self)
 {
     get_exception_delegate d;
     var p = self->_get_exception;
     if (p == _p18) { d = _d18; }
     else
     {
         d = (get_exception_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_exception_delegate));
         if (_p18 == IntPtr.Zero) { _d18 = d; _p18 = p; }
     }
     return d(self);
 }