mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_core.h (VM_LOCAL_P): should return an integer value.
reported at http://d.hatena.ne.jp/nagachika/20160728/ruby_trunk_changes_55764_55770 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78c1041a82
commit
7a1d1163ad
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jul 29 10:49:52 2016 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_core.h (VM_LOCAL_P): should return an integer value.
|
||||
reported at
|
||||
http://d.hatena.ne.jp/nagachika/20160728/ruby_trunk_changes_55764_55770
|
||||
|
||||
Fri Jul 29 04:23:08 2016 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_core.h (VM_ENV_LOCAL_P): return truthy (0 or not) value.
|
||||
|
|
|
@ -1039,7 +1039,7 @@ VM_FRAME_TYPE(const rb_control_frame_t *cfp)
|
|||
static inline int
|
||||
VM_ENV_LOCAL_P(const VALUE *ep)
|
||||
{
|
||||
return VM_ENV_FLAGS(ep, VM_ENV_FLAG_LOCAL);
|
||||
return VM_ENV_FLAGS(ep, VM_ENV_FLAG_LOCAL) ? 1 : 0;
|
||||
}
|
||||
|
||||
static inline const VALUE *
|
||||
|
|
Loading…
Add table
Reference in a new issue