public static int get_start_position(cef_v8exception_t *self)
        {
            get_start_position_delegate d;
            var p = self->_get_start_position;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (get_start_position_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_start_position_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            return(d(self));
        }
Exemplo n.º 2
0
 public static int get_start_position(cef_v8exception_t* self)
 {
     get_start_position_delegate d;
     var p = self->_get_start_position;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (get_start_position_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_start_position_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     return d(self);
 }