diff options
author | 卜部昌平 <[email protected]> | 2019-10-10 17:04:59 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-10-10 17:10:21 +0900 |
commit | f1ce4897f2eaf9a99c250e4707e3ab6f6bdacb74 (patch) | |
tree | b4aaa154bd492888f2e978805a3b02db4cc097f5 /internal.h | |
parent | d96f04d73a5feb15b9d27bd23af2f7325732bb03 (diff) |
make rb_raise a GVL-only function again
Requested by ko1 that ability of calling rb_raise from anywhere
outside of GVL is "too much". Give up that part, move the GVL
aquisition routine into gc.c, and make our new gc_raise().
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 6afd21d571..6d63bcf18d 100644 --- a/internal.h +++ b/internal.h @@ -1553,6 +1553,7 @@ NORETURN(void ruby_deprecated_internal_feature(const char *)); (ruby_deprecated_internal_feature(func), UNREACHABLE) VALUE rb_warning_warn(VALUE mod, VALUE str); PRINTF_ARGS(VALUE rb_warning_string(const char *fmt, ...), 1, 2); +NORETURN(void rb_vraise(VALUE, const char *, va_list)); /* eval.c */ VALUE rb_refinement_module_get_refined_class(VALUE module); |