mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Autogenerate DOM bindings for Document.
This commit is contained in:
parent
07267c634a
commit
09d50147f7
10 changed files with 581 additions and 217 deletions
|
@ -615,7 +615,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
|
|||
}
|
||||
|
||||
pub fn initialize_global(global: *JSObject) {
|
||||
let protoArray = @mut ([0 as *JSObject, ..22]); //XXXjdm PrototyepList::id::_ID_Count
|
||||
let protoArray = @mut ([0 as *JSObject, ..23]); //XXXjdm PrototyepList::id::_ID_Count
|
||||
unsafe {
|
||||
//XXXjdm we should be storing the box pointer instead of the inner
|
||||
let box = squirrel_away(protoArray);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue