ruby/internal/ractor.h
Matt Valentine-House 1634280e1c Fix shared GC with -DRUBY_DEBUG
RUBY_DEBUG enables ractor assertions, which sets up some space at the
end of each RVALUE to store the associated ractor ID. We need to make
sure the function that does this is visible to shared GC libraries.
2024-10-24 16:08:46 +01:00

11 lines
283 B
C

#ifndef INTERNAL_RACTOR_H /*-*-C-*-vi:se ft=c:*/
#define INTERNAL_RACTOR_H
void rb_ractor_ensure_main_ractor(const char *msg);
RUBY_SYMBOL_EXPORT_BEGIN
void rb_ractor_setup_belonging(VALUE obj);
RUBY_SYMBOL_EXPORT_END
#endif /* INTERNAL_RACTOR_H */