ruby-changes:64217
From: Koichi <ko1@a...>
Date: Thu, 17 Dec 2020 00:31:12 +0900 (JST)
Subject: [ruby-changes:64217] b29c0fadec (master): add HAVE_RB_EXT_RACTOR_SAFE macro
https://git.ruby-lang.org/ruby.git/commit/?id=b29c0fadec From b29c0fadeca7bd7d00d9fe17345fe88bf968312f Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Thu, 17 Dec 2020 00:28:48 +0900 Subject: add HAVE_RB_EXT_RACTOR_SAFE macro define HAVE_RB_EXT_RACTOR_SAFE to check rb_ext_ractor_safe() is available or not. diff --git a/include/ruby/internal/intern/load.h b/include/ruby/internal/intern/load.h index f9ba542..2cc5be0 100644 --- a/include/ruby/internal/intern/load.h +++ b/include/ruby/internal/intern/load.h @@ -37,6 +37,7 @@ VALUE rb_require_string(VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/intern/load.h#L37 // extension configuration void rb_ext_ractor_safe(bool flag); #define RB_EXT_RACTOR_SAFE(f) rb_ext_ractor_safe(f) +#define HAVE_RB_EXT_RACTOR_SAFE 1 RBIMPL_SYMBOL_EXPORT_END() -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/