Generate bindings for HTMLCanvasElement.

This commit is contained in:
Tetsuharu OHZEKI 2013-08-11 05:25:06 +09:00
parent 0f957c9e22
commit b44d4346df
11 changed files with 105 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, ..51]);
let protoArray = @mut ([0 as *JSObject, ..52]);
assert!(protoArray.len() == PrototypeList::id::_ID_Count as uint);
unsafe {
//XXXjdm we should be storing the box pointer instead of the inner