diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-13 08:43:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-13 08:43:32 +0000 |
commit | ffd9432d44e4aab4781bbe4f4245e22873b72ca2 (patch) | |
tree | 3382dcac44131e4c7e967d7aec3fe59a7a43df0f /vm_core.h | |
parent | 55c801767aaac866d4825f1db74fd1e178b17a53 (diff) | |
download | ruby-ffd9432d44e4aab4781bbe4f4245e22873b72ca2.tar.gz |
* vm_core.h (rb_call_info_kw_arg_bytes): move the definition
to iseq.h because this function is shared with iseq.c and compile.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -180,12 +180,6 @@ typedef struct rb_call_info_kw_arg_struct { VALUE keywords[1]; } rb_call_info_kw_arg_t; -static inline size_t -rb_call_info_kw_arg_bytes(int keyword_len) -{ - return sizeof(rb_call_info_kw_arg_t) + sizeof(VALUE) * (keyword_len - 1); -} - enum method_missing_reason { MISSING_NOENTRY = 0x00, MISSING_PRIVATE = 0x01, |