mirror of
https://github.com/servo/servo.git
synced 2025-07-19 13:23:46 +01:00
Upgrade Rust.
This commit is contained in:
parent
8b6f62c195
commit
b91e6f30e0
132 changed files with 764 additions and 738 deletions
|
@ -8,20 +8,20 @@ use std::mem;
|
|||
use types::{cef_browser_settings_t, cef_browser_t, cef_client_t, cef_request_context_t, cef_string_t, cef_window_info_t};
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn cef_browser_host_create_browser(_windowInfo: *cef_window_info_t,
|
||||
pub extern "C" fn cef_browser_host_create_browser(_windowInfo: *const cef_window_info_t,
|
||||
_client: *mut cef_client_t,
|
||||
_url: *cef_string_t,
|
||||
_settings: *cef_browser_settings_t,
|
||||
_url: *const cef_string_t,
|
||||
_settings: *const cef_browser_settings_t,
|
||||
_request_context: *mut cef_request_context_t)
|
||||
-> c_int {
|
||||
0
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn cef_browser_host_create_browser_sync(_windowInfo: *cef_window_info_t,
|
||||
pub extern "C" fn cef_browser_host_create_browser_sync(_windowInfo: *const cef_window_info_t,
|
||||
_client: *mut cef_client_t,
|
||||
_url: *cef_string_t,
|
||||
_settings: *cef_browser_settings_t,
|
||||
_url: *const cef_string_t,
|
||||
_settings: *const cef_browser_settings_t,
|
||||
_request_context: *mut cef_request_context_t)
|
||||
-> *mut cef_browser_t {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue