mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-18 07:21:24 +00:00
js-sys: Add extends attributes for js_sys::Float32Array
This commit is contained in:
@ -684,7 +684,7 @@ extern "C" {
|
|||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
// TODO Uncomment this once TypedArray is added:
|
// TODO Uncomment this once TypedArray is added:
|
||||||
// #[wasm_bindgen(extends = Object, extends = TypedArray)]
|
#[wasm_bindgen(extends = Object)]
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub type Float32Array;
|
pub type Float32Array;
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ macro_rules! each {
|
|||||||
$m!(Int8Array);
|
$m!(Int8Array);
|
||||||
$m!(Int16Array);
|
$m!(Int16Array);
|
||||||
$m!(Int32Array);
|
$m!(Int32Array);
|
||||||
|
$m!(Float32Array);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user