public static int release(cef_request_context_t* self) { release_delegate d; var p = self->_base._release; if (p == _p1) { d = _d1; } else { d = (release_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(release_delegate)); if (_p1 == IntPtr.Zero) { _d1 = d; _p1 = p; } } return d(self); }
public static int add_ref(cef_request_context_t* self) { add_ref_delegate d; var p = self->_base._add_ref; if (p == _p0) { d = _d0; } else { d = (add_ref_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(add_ref_delegate)); if (_p0 == IntPtr.Zero) { _d0 = d; _p0 = p; } } return d(self); }
public static cef_request_context_handler_t* get_handler(cef_request_context_t* self) { get_handler_delegate d; var p = self->_get_handler; if (p == _p5) { d = _d5; } else { d = (get_handler_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_handler_delegate)); if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; } } return d(self); }
public static int is_same(cef_request_context_t* self, cef_request_context_t* other) { is_same_delegate d; var p = self->_is_same; if (p == _p3) { d = _d3; } else { d = (is_same_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_same_delegate)); if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; } } return d(self, other); }
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 get_refct(cef_request_context_t* self) { get_refct_delegate d; var p = self->_base._get_refct; if (p == _p2) { d = _d2; } else { d = (get_refct_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_refct_delegate)); if (_p2 == IntPtr.Zero) { _d2 = d; _p2 = p; } } return d(self); }
private CefRequestContext(cef_request_context_t* ptr) { if (ptr == null) throw new ArgumentNullException("ptr"); _self = ptr; }
internal static CefRequestContext FromNativeOrNull(cef_request_context_t* ptr) { if (ptr == null) return null; return new CefRequestContext(ptr); }
internal static CefRequestContext FromNative(cef_request_context_t* ptr) { return new CefRequestContext(ptr); }
public static extern cef_browser_t* create_browser_sync(cef_window_info_t* windowInfo, cef_client_t* client, cef_string_t* url, cef_browser_settings_t* settings, cef_request_context_t* request_context);