1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move the declaration into the function

instead of 'do not call it directly.' comment.
This commit is contained in:
Kazuhiro NISHIYAMA 2020-11-18 10:52:56 +09:00
parent 519062b350
commit a776032ef1
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A
2 changed files with 6 additions and 2 deletions

View file

@ -160,6 +160,10 @@ void rb_ractor_terminate_interrupt_main_thread(rb_ractor_t *r);
void rb_ractor_terminate_all(void);
bool rb_ractor_main_p_(void);
RUBY_SYMBOL_EXPORT_BEGIN
bool rb_ractor_shareable_p_continue(VALUE obj);
RUBY_SYMBOL_EXPORT_END
RUBY_EXTERN bool ruby_multi_ractor;
static inline bool