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

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

View File

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

View File

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