mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 12:41:32 +00:00
test(runtime-c-api) Rename wasmer_import_trap
to wasmer_trap
.
This commit is contained in:
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
static const char *trap_error_message = "Hello";
|
static const char *trap_error_message = "Hello";
|
||||||
|
|
||||||
void print_str(wasmer_instance_context_t *ctx, int32_t ptr, int32_t len)
|
void print_str(wasmer_instance_context_t *ctx, int32_t _ptr, int32_t _len)
|
||||||
{
|
{
|
||||||
wasmer_import_trap(ctx, trap_error_message);
|
wasmer_trap(ctx, trap_error_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Reference in New Issue
Block a user