public static int is_global(cef_request_context_t *self) { is_global_delegate d; var p = self->_is_global; if (p == _p4) { d = _d4; } else { d = (is_global_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_global_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } return(d(self)); }
public static int is_global(cef_request_context_t* self) { is_global_delegate d; var p = self->_is_global; if (p == _p4) { d = _d4; } else { d = (is_global_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_global_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } return d(self); }