mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393
This commit is contained in:
parent
e04d517bff
commit
356c57e628
48 changed files with 403 additions and 307 deletions
|
@ -4,9 +4,11 @@
|
|||
|
||||
//! WebIDL constants.
|
||||
|
||||
use js::jsapi::{HandleObject, JSContext, JSPROP_ENUMERATE, JSPROP_PERMANENT};
|
||||
use js::jsapi::{JSPROP_READONLY, JS_DefineProperty};
|
||||
use js::jsapi::{JSContext, JSPROP_ENUMERATE, JSPROP_PERMANENT};
|
||||
use js::jsapi::JSPROP_READONLY;
|
||||
use js::jsval::{BooleanValue, DoubleValue, Int32Value, JSVal, NullValue, UInt32Value};
|
||||
use js::rust::HandleObject;
|
||||
use js::rust::wrappers::JS_DefineProperty;
|
||||
use libc;
|
||||
|
||||
/// Representation of an IDL constant.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue