summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-19 01:53:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-19 01:53:34 +0000
commitb026a71750a6464de73f35194fc9f219162c9b0f (patch)
tree4fa1d0820fb11a7d258b978275a20bba06529d61 /iseq.h
parent71ed163fb366aaaf7cb714ec34c2a0a551fb2763 (diff)
iseq.h: rb_iseq_t
* iseq.h (rb_iseq_t): also should be defined here for prototype declarations arguments. * method.h (rb_iseq_t): get rid of redefinition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/iseq.h b/iseq.h
index ee8beb4e9d..9cbfd85cf9 100644
--- a/iseq.h
+++ b/iseq.h
@@ -12,6 +12,11 @@
#ifndef RUBY_ISEQ_H
#define RUBY_ISEQ_H 1
+#ifndef rb_iseq_t
+typedef struct rb_iseq_struct rb_iseq_t;
+#define rb_iseq_t rb_iseq_t
+#endif
+
static inline size_t
rb_call_info_kw_arg_bytes(int keyword_len)
{