1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-01 01:41:08 +00:00

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

This commit is contained in:
Sendil Kumar 2018-08-14 19:32:14 +02:00
parent 2979618842
commit e58e231fdf
2 changed files with 2 additions and 0 deletions
crates/js-sys
src
tests/wasm

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

@ -7,6 +7,7 @@ macro_rules! each {
($m:ident) => (
$m!(Uint8Array);
$m!(Uint8ClampedArray);
$m!(Uint16Array);
)
}