mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-03 02:41:06 +00:00
Merge pull request #1590 from alexcrichton/intrinsics
Correct some intrinsic signatures
This commit is contained in:
commit
80c75df166
@ -110,13 +110,13 @@ intrinsics! {
|
|||||||
#[signature = fn(ref_string()) -> Anyref]
|
#[signature = fn(ref_string()) -> Anyref]
|
||||||
SymbolNamedNew,
|
SymbolNamedNew,
|
||||||
#[symbol = "__wbindgen_number_get"]
|
#[symbol = "__wbindgen_number_get"]
|
||||||
#[signature = fn(ref_anyref(), F64) -> F64]
|
#[signature = fn(ref_anyref(), I32) -> F64]
|
||||||
NumberGet,
|
NumberGet,
|
||||||
#[symbol = "__wbindgen_string_get"]
|
#[symbol = "__wbindgen_string_get"]
|
||||||
#[signature = fn(ref_anyref(), I32) -> I32]
|
#[signature = fn(ref_anyref(), I32) -> I32]
|
||||||
StringGet,
|
StringGet,
|
||||||
#[symbol = "__wbindgen_boolean_get"]
|
#[symbol = "__wbindgen_boolean_get"]
|
||||||
#[signature = fn(ref_anyref()) -> F64]
|
#[signature = fn(ref_anyref()) -> I32]
|
||||||
BooleanGet,
|
BooleanGet,
|
||||||
#[symbol = "__wbindgen_throw"]
|
#[symbol = "__wbindgen_throw"]
|
||||||
#[signature = fn(ref_string()) -> Unit]
|
#[signature = fn(ref_string()) -> Unit]
|
||||||
@ -143,7 +143,7 @@ intrinsics! {
|
|||||||
#[signature = fn(ref_anyref()) -> String]
|
#[signature = fn(ref_anyref()) -> String]
|
||||||
JsonSerialize,
|
JsonSerialize,
|
||||||
#[symbol = "__wbindgen_anyref_heap_live_count"]
|
#[symbol = "__wbindgen_anyref_heap_live_count"]
|
||||||
#[signature = fn() -> F64]
|
#[signature = fn() -> I32]
|
||||||
AnyrefHeapLiveCount,
|
AnyrefHeapLiveCount,
|
||||||
#[symbol = "__wbindgen_init_nyref_table"]
|
#[symbol = "__wbindgen_init_nyref_table"]
|
||||||
#[signature = fn() -> Unit]
|
#[signature = fn() -> Unit]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user