js-sys: Add extends attributes for js_sys::Int32Array

This commit is contained in:
Sendil Kumar 2018-08-14 19:34:59 +02:00
parent 2d737c5634
commit 10bc69a8cd
2 changed files with 2 additions and 0 deletions

View File

@ -1020,6 +1020,7 @@ extern "C" {
// Int32Array
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(extends = Object)]
#[derive(Clone, Debug)]
pub type Int32Array;

View File

@ -11,6 +11,7 @@ macro_rules! each {
$m!(Uint32Array);
$m!(Int8Array);
$m!(Int16Array);
$m!(Int32Array);
)
}