From fb06ee33e321534fcacd6fa7b48819ba867a5ec5 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 15 Jan 2020 08:47:52 +0100 Subject: [PATCH] test(runtime-c-api) Rename `wasmer_import_trap` to `wasmer_trap`. --- lib/runtime-c-api/tests/test-import-trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runtime-c-api/tests/test-import-trap.c b/lib/runtime-c-api/tests/test-import-trap.c index ab11bcca9bd..0e28208eccc 100644 --- a/lib/runtime-c-api/tests/test-import-trap.c +++ b/lib/runtime-c-api/tests/test-import-trap.c @@ -6,9 +6,9 @@ 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()