public static int get_end_column(cef_v8exception_t *self)
        {
            get_end_column_delegate d;
            var p = self->_get_end_column;

            if (p == _pa)
            {
                d = _da;
            }
            else
            {
                d = (get_end_column_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_end_column_delegate));
                if (_pa == IntPtr.Zero)
                {
                    _da = d; _pa = p;
                }
            }
            return(d(self));
        }
Example #2
0
 public static int get_end_column(cef_v8exception_t* self)
 {
     get_end_column_delegate d;
     var p = self->_get_end_column;
     if (p == _pa) { d = _da; }
     else
     {
         d = (get_end_column_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_end_column_delegate));
         if (_pa == IntPtr.Zero) { _da = d; _pa = p; }
     }
     return d(self);
 }