mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-17 15:01:23 +00:00
js-sys: Add extends attributes for js_sys::Int16Array
This commit is contained in:
@ -967,6 +967,7 @@ extern "C" {
|
|||||||
// Int16Array
|
// Int16Array
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#[wasm_bindgen(extends = Object)]
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub type Int16Array;
|
pub type Int16Array;
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ macro_rules! each {
|
|||||||
$m!(Uint16Array);
|
$m!(Uint16Array);
|
||||||
$m!(Uint32Array);
|
$m!(Uint32Array);
|
||||||
$m!(Int8Array);
|
$m!(Int8Array);
|
||||||
|
$m!(Int16Array);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user