mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Correct some intrinsic signatures
While this doesn't currently cause issues in the upcoming webidl refactor this is actually being asserted and causes verification issues if the types don't align! These are basically just mistakes from the original implementation of this module, but this doesn't actually fix a known bug today.
This commit is contained in:
parent
535aa3193c
commit
ce4cc317e8
@ -110,13 +110,13 @@ intrinsics! {
|
||||
#[signature = fn(ref_string()) -> Anyref]
|
||||
SymbolNamedNew,
|
||||
#[symbol = "__wbindgen_number_get"]
|
||||
#[signature = fn(ref_anyref(), F64) -> F64]
|
||||
#[signature = fn(ref_anyref(), I32) -> F64]
|
||||
NumberGet,
|
||||
#[symbol = "__wbindgen_string_get"]
|
||||
#[signature = fn(ref_anyref(), I32) -> I32]
|
||||
StringGet,
|
||||
#[symbol = "__wbindgen_boolean_get"]
|
||||
#[signature = fn(ref_anyref()) -> F64]
|
||||
#[signature = fn(ref_anyref()) -> I32]
|
||||
BooleanGet,
|
||||
#[symbol = "__wbindgen_throw"]
|
||||
#[signature = fn(ref_string()) -> Unit]
|
||||
@ -143,7 +143,7 @@ intrinsics! {
|
||||
#[signature = fn(ref_anyref()) -> String]
|
||||
JsonSerialize,
|
||||
#[symbol = "__wbindgen_anyref_heap_live_count"]
|
||||
#[signature = fn() -> F64]
|
||||
#[signature = fn() -> I32]
|
||||
AnyrefHeapLiveCount,
|
||||
#[symbol = "__wbindgen_init_nyref_table"]
|
||||
#[signature = fn() -> Unit]
|
||||
|
Loading…
x
Reference in New Issue
Block a user