public static int set_storage_path(cef_cookie_manager_t *self, cef_string_t *path, int persist_session_cookies, cef_completion_callback_t *callback) { set_storage_path_delegate d; var p = self->_set_storage_path; if (p == _p8) { d = _d8; } else { d = (set_storage_path_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_storage_path_delegate)); if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; } } return(d(self, path, persist_session_cookies, callback)); }
public static int set_storage_path(cef_cookie_manager_t* self, cef_string_t* path, int persist_session_cookies) { set_storage_path_delegate d; var p = self->_set_storage_path; if (p == _p8) { d = _d8; } else { d = (set_storage_path_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_storage_path_delegate)); if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; } } return d(self, path, persist_session_cookies); }