summaryrefslogtreecommitdiff
path: root/rjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:27:07 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-18 21:28:55 -0700
commitd189f8d870aee69e43697415a4840a4d9cdf5a62 (patch)
treed62ad75306eb9089c3e36d4441b4de1be1dace6f /rjit.h
parent4e440d6990a1095149a83662f1238d31047c1032 (diff)
RJIT: Prefix rjit_options with rb_
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);