aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-10-10 17:04:59 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-10-10 17:10:21 +0900
commitf1ce4897f2eaf9a99c250e4707e3ab6f6bdacb74 (patch)
treeb4aaa154bd492888f2e978805a3b02db4cc097f5 /internal.h
parentd96f04d73a5feb15b9d27bd23af2f7325732bb03 (diff)
downloadruby-f1ce4897f2eaf9a99c250e4707e3ab6f6bdacb74.tar.gz
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.h1
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);