From 233ddfac541749a0da80ea27913dc1ef4ea700bb Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 6 Mar 2023 21:34:31 -0800 Subject: Stop exporting symbols for MJIT --- error.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index a0a7cdce30..3b1a80755c 100644 --- a/error.c +++ b/error.c @@ -187,7 +187,7 @@ rb_warning_category_update(unsigned int mask, unsigned int bits) warning_disabled_categories |= mask & ~bits; } -MJIT_FUNC_EXPORTED bool +bool rb_warning_category_enabled_p(rb_warning_category_t category) { return !(warning_disabled_categories & (1U << category)); @@ -867,7 +867,7 @@ rb_report_bug_valist(VALUE file, int line, const char *fmt, va_list args) report_bug_valist(RSTRING_PTR(file), line, fmt, NULL, args); } -MJIT_FUNC_EXPORTED void +void rb_assert_failure(const char *file, int line, const char *name, const char *expr) { FILE *out = stderr; @@ -1582,7 +1582,7 @@ exc_set_backtrace(VALUE exc, VALUE bt) return rb_ivar_set(exc, id_bt, rb_check_backtrace(bt)); } -MJIT_FUNC_EXPORTED VALUE +VALUE rb_exc_set_backtrace(VALUE exc, VALUE bt) { return exc_set_backtrace(exc, bt); -- cgit v1.2.1