[][src]Module wasmer_runtime_c_api::trampoline

Trampoline emitter for transforming function calls.

Structs

wasmer_trampoline_buffer_builder_t
wasmer_trampoline_buffer_t
wasmer_trampoline_callable_t

Functions

wasmer_trampoline_buffer_builder_add_callinfo_trampoline

Adds a callinfo trampoline to the builder.

wasmer_trampoline_buffer_builder_add_context_trampoline

Adds a context trampoline to the builder.

wasmer_trampoline_buffer_builder_build

Finalizes the trampoline builder into an executable buffer.

wasmer_trampoline_buffer_builder_new

Creates a new trampoline builder.

wasmer_trampoline_buffer_destroy

Destroys the trampoline buffer if not null.

wasmer_trampoline_buffer_get_trampoline

Returns the callable pointer for the trampoline with index idx.

wasmer_trampoline_get_context

Returns the context added by add_context_trampoline, from within the callee function.