mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
add embedding function for checking whether the loaded cef lib is servo
This commit is contained in:
parent
92f46e3149
commit
7e7ee225c7
1 changed files with 3 additions and 0 deletions
|
@ -77,3 +77,6 @@ pub unsafe fn add_ref(c_object: *mut cef_base_t) {
|
|||
((*c_object).add_ref.unwrap())(c_object);
|
||||
}
|
||||
|
||||
pub extern "C" fn servo_test() -> c_int {
|
||||
1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue