Skip to content

Commit

Permalink
test(runtime-c-api) Rename wasmer_import_trap to wasmer_trap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jan 15, 2020
1 parent f4ae606 commit fb06ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/runtime-c-api/tests/test-import-trap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fb06ee3

Please sign in to comment.