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

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

View File

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

View File

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