summaryrefslogtreecommitdiff
path: root/rjit.h
diff options
context:
space:
mode:
Diffstat (limited to 'rjit.h')
-rw-r--r--rjit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rjit.h b/rjit.h
index 0b92b5293f..aeb0a933df 100644
--- a/rjit.h
+++ b/rjit.h
@@ -22,7 +22,7 @@
#include "vm_core.h"
// RJIT options which can be defined on the MRI command line.
-struct rjit_options {
+struct rb_rjit_options {
// Converted from "rjit" feature flag to tell the enablement
// information to ruby_show_version().
bool on;
@@ -41,7 +41,7 @@ struct rjit_options {
};
RUBY_SYMBOL_EXPORT_BEGIN
-RUBY_EXTERN struct rjit_options rb_rjit_opts;
+RUBY_EXTERN struct rb_rjit_options rb_rjit_opts;
RUBY_EXTERN bool rb_rjit_call_p;
#define rb_rjit_call_threshold() rb_rjit_opts.call_threshold
@@ -50,7 +50,7 @@ extern void rb_rjit_compile(const rb_iseq_t *iseq);
RUBY_SYMBOL_EXPORT_END
extern void rb_rjit_cancel_all(const char *reason);
-extern void rb_rjit_init(const struct rjit_options *opts);
+extern void rb_rjit_init(const struct rb_rjit_options *opts);
extern void rb_rjit_free_iseq(const rb_iseq_t *iseq);
extern void rb_rjit_iseq_update_references(struct rb_iseq_constant_body *const body);
extern void rb_rjit_mark(void);