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.
11 lines
283 B
C
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 */
|