mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
71ed163fb3
commit
b026a71750
2 changed files with 8 additions and 0 deletions
5
iseq.h
5
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)
|
||||
{
|
||||
|
|
3
method.h
3
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 */
|
||||
|
|
Loading…
Reference in a new issue