mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
Support the updated spidermonkey bindings
This commit is contained in:
parent
32daa17d5c
commit
e733a7c46a
20 changed files with 234 additions and 223 deletions
|
@ -7,6 +7,7 @@
|
|||
#![feature(borrow_state)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(cell_extras)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(core)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(custom_attribute)]
|
||||
|
@ -142,7 +143,7 @@ fn perform_platform_specific_initialization() {}
|
|||
#[allow(unsafe_code)]
|
||||
pub fn init() {
|
||||
unsafe {
|
||||
assert_eq!(js::jsapi::JS_Init(), 1);
|
||||
assert_eq!(js::jsapi::JS_Init(), true);
|
||||
}
|
||||
|
||||
// Create the global vtables used by the (generated) DOM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue