mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 17:21:35 +00:00
js-sys: Add extends attributes for js_sys::UInt16Array
This commit is contained in:
@ -2647,6 +2647,7 @@ extern "C" {
|
|||||||
// Uint16Array
|
// Uint16Array
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#[wasm_bindgen(extends = Object)]
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub type Uint16Array;
|
pub type Uint16Array;
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ macro_rules! each {
|
|||||||
($m:ident) => (
|
($m:ident) => (
|
||||||
$m!(Uint8Array);
|
$m!(Uint8Array);
|
||||||
$m!(Uint8ClampedArray);
|
$m!(Uint8ClampedArray);
|
||||||
|
$m!(Uint16Array);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user