diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/rgengc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ruby/internal/rgengc.h b/include/ruby/internal/rgengc.h index 7ea04442f6..f65595f357 100644 --- a/include/ruby/internal/rgengc.h +++ b/include/ruby/internal/rgengc.h @@ -133,6 +133,17 @@ * @private * * This is a compile-time flag to enable/disable write barrier for + * struct ::RMatch. It has to be set at the time ruby itself compiles. Makes + * no sense for 3rd parties. + */ +#ifndef RGENGC_WB_PROTECTED_MATCH +# define RGENGC_WB_PROTECTED_MATCH 1 +#endif + +/** + * @private + * + * This is a compile-time flag to enable/disable write barrier for * struct ::RClass. It has to be set at the time ruby itself compiles. Makes * no sense for 3rd parties. */ |