add embedding function for checking whether the loaded cef lib is servo

This commit is contained in:
Mike Blumenkrantz 2015-05-06 13:41:01 -04:00
parent 92f46e3149
commit 7e7ee225c7

View file

@ -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
}