Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/gems/js/ext/js/witapi-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,12 @@ uint32_t rb_abi_guest_rb_abi_value_data_ptr(rb_abi_guest_rb_abi_value_t self) {
return (uint32_t)DATA_PTR(obj);
}

_Static_assert(RUBY_API_VERSION_MAJOR == 3, "unsupported Ruby version");
#if RUBY_API_VERSION_MINOR == 2
#if (RUBY_API_VERSION_MAJOR == 3) && (RUBY_API_VERSION_MINOR == 2)
void rb_vm_bugreport(const void *);

void rb_abi_guest_rb_vm_bugreport(void) { rb_vm_bugreport(NULL); }
#elif RUBY_API_VERSION_MINOR >= 3
#elif ((RUBY_API_VERSION_MAJOR == 3) && RUBY_API_VERSION_MINOR >= 3) || \
(RUBY_API_VERSION_MAJOR >= 4)
bool rb_vm_bugreport(const void *, FILE *);

void rb_abi_guest_rb_vm_bugreport(void) { rb_vm_bugreport(NULL, stderr); }
Expand Down