mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
add no_mangle to servo_test() embedding function
This commit is contained in:
parent
d7ad5d6ea2
commit
83e605d2fb
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ pub unsafe fn add_ref(c_object: *mut cef_base_t) {
|
|||
((*c_object).add_ref.unwrap())(c_object);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn servo_test() -> c_int {
|
||||
1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue