summaryrefslogtreecommitdiff
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r--include/ruby/defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index 5006305059..b49fabe636 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -270,6 +270,10 @@ void xfree(void*);
#define RUBY_FUNC_EXPORTED
#endif
+/* MJIT_FUNC_EXPORTED is used for functions which are exported only for MJIT
+ and NOT ensured to be exported in future versions. */
+#define MJIT_FUNC_EXPORTED RUBY_FUNC_EXPORTED
+
#ifndef RUBY_EXTERN
#define RUBY_EXTERN extern
#endif