aboutsummaryrefslogtreecommitdiffstats
path: root/method.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
commit7d74307bceabfc9314a999ae670b27bfc0f74792 (patch)
tree4fa1d0820fb11a7d258b978275a20bba06529d61 /method.h
parent4ca67f64013acbacab172a62e44823d7c699caa8 (diff)
downloadruby-7d74307bceabfc9314a999ae670b27bfc0f74792.tar.gz
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 'method.h')
-rw-r--r--method.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/method.h b/method.h
index cb3eda1998..0628559604 100644
--- a/method.h
+++ b/method.h
@@ -118,7 +118,10 @@ typedef enum {
END_OF_ENUMERATION(VM_METHOD_TYPE)
} rb_method_type_t;
+#ifndef rb_iseq_t
typedef struct rb_iseq_struct rb_iseq_t;
+#define rb_iseq_t rb_iseq_t
+#endif
typedef struct rb_method_iseq_struct {
const rb_iseq_t * const iseqptr; /* should be separated from iseqval */