public static cef_string_userfree *get_source_line(cef_v8exception_t *self)
        {
            get_source_line_delegate d;
            var p = self->_get_source_line;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (get_source_line_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_source_line_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            return(d(self));
        }
Exemple #2
0
 public static cef_string_userfree* get_source_line(cef_v8exception_t* self)
 {
     get_source_line_delegate d;
     var p = self->_get_source_line;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (get_source_line_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_source_line_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     return d(self);
 }