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

View File

@ -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;

View File

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