mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 03:55:20 +03:00
js-sys: Add extends attributes for js_sys::UInt16Array
This commit is contained in:
parent
2979618842
commit
e58e231fdf
@ -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);
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user