referrerpolicy=no-referrer-when-downgrade

Module test_api

Source

Structs§

HostFunctions
Provides implementations for the extern host functions.

Functions§

allocate_and_return_by_codec
allocate_and_return_fat_pointer
allocate_and_return_pointer
array_as_mutable_reference
Take and fill mutable array.
get_and_return_array
Get an array as input and returns a subset of this array.
invalid_utf8_data
A function that is called with invalid utf8 data from the runtime.
overwrite_native_function_implementation
Overwrite the native implementation in wasm. The native implementation always returns false and the replacement function will return always true.
pass_as
pass_by_codec
pass_fat_pointer_and_read
pass_fat_pointer_and_read_write
pass_pointer_and_read
pass_pointer_and_read_copy
pass_pointer_and_write
pass_slice_ref_by_codec
return_16kb
Returns 16kb data.
return_as
return_input
Returns the input data as result.
return_input_as_tuple
Returns the input values as tuple.
return_input_public_key
Returns the given public key as result.
return_option_bytes
return_option_input
Returns the input data wrapped in an Option as result.
return_option_vec
return_value_into_mutable_reference
Copy hello into the given mutable reference
set_storage
Set the storage at key with value.
test_versioning
test_versioning_register_only