mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-14 21:41:23 +00:00
WebAssembly::Table::new takes an object
This commit is contained in:
@ -2990,7 +2990,7 @@ pub mod WebAssembly {
|
|||||||
///
|
///
|
||||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table
|
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table
|
||||||
#[wasm_bindgen(constructor, js_namespace = WebAssembly)]
|
#[wasm_bindgen(constructor, js_namespace = WebAssembly)]
|
||||||
pub fn new(table_descriptor: &JsValue) -> Table;
|
pub fn new(table_descriptor: &Object) -> Table;
|
||||||
|
|
||||||
/// The `length` prototype property of the `WebAssembly.Table` object
|
/// The `length` prototype property of the `WebAssembly.Table` object
|
||||||
/// returns the length of the table, i.e. the number of elements in the
|
/// returns the length of the table, i.e. the number of elements in the
|
||||||
|
Reference in New Issue
Block a user