diff options
author | Takashi Kokubun <[email protected]> | 2023-03-18 21:27:07 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-18 21:28:55 -0700 |
commit | d189f8d870aee69e43697415a4840a4d9cdf5a62 (patch) | |
tree | d62ad75306eb9089c3e36d4441b4de1be1dace6f /rjit.h | |
parent | 4e440d6990a1095149a83662f1238d31047c1032 (diff) |
RJIT: Prefix rjit_options with rb_
Diffstat (limited to 'rjit.h')
-rw-r--r-- | rjit.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |