Generate bindings for HTMLBodyElement

This commit is contained in:
Junyoung Cho 2013-08-08 16:39:19 +09:00
parent 4800ddf742
commit 6241064681
10 changed files with 95 additions and 5 deletions

View file

@ -617,7 +617,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
}
pub fn initialize_global(global: *JSObject) {
let protoArray = @mut ([0 as *JSObject, ..39]);
let protoArray = @mut ([0 as *JSObject, ..40]);
assert!(protoArray.len() == PrototypeList::id::_ID_Count as uint);
unsafe {
//XXXjdm we should be storing the box pointer instead of the inner