Skip to content

Commit

Permalink
Merge pull request #311 from ruby/katei/remove-unused-witapi
Browse files Browse the repository at this point in the history
Remove unused `ruby_run_node` API from witapi
  • Loading branch information
kateinoigakukun authored Nov 16, 2023
2 parents 8a74d19 + ee8fe28 commit ab37856
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ext/witapi/witapi-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,6 @@ rb_abi_guest_ruby_options(rb_abi_guest_list_string_t *args) {
return rb_abi_guest_rb_iseq_new(result);
}

rb_abi_guest_rb_errno_t
rb_abi_guest_ruby_run_node(rb_abi_guest_rb_iseq_t node) {
int result;
void *iseq = rb_abi_guest_rb_iseq_get(&node);
RB_WASM_LIB_RT(ruby_run_node(iseq))
return result;
}

void rb_abi_guest_ruby_script(rb_abi_guest_string_t *name) {
RB_WASM_LIB_RT(ruby_script(name->ptr))
}
Expand Down

0 comments on commit ab37856

Please sign in to comment.