summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/iseq.h b/iseq.h
index a4a8c693dd..7a00b9b8ad 100644
--- a/iseq.h
+++ b/iseq.h
@@ -12,8 +12,10 @@
#ifndef RUBY_ISEQ_H
#define RUBY_ISEQ_H 1
-#define ISEQ_MAJOR_VERSION 2
-#define ISEQ_MINOR_VERSION 3
+#include "ruby/version.h"
+
+#define ISEQ_MAJOR_VERSION RUBY_API_VERSION_MAJOR
+#define ISEQ_MINOR_VERSION RUBY_API_VERSION_MINOR
#ifndef rb_iseq_t
typedef struct rb_iseq_struct rb_iseq_t;