diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 10:21:31 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 10:21:31 +0000 |
commit | b5fa3639c7fa37ca4d41a589ad3c07d22ee16ea6 (patch) | |
tree | 784f06d98f184812a7299ad6c4ec52c988a0616b /ext | |
parent | 3634420312d7d0190892628c5361031121c5bce1 (diff) | |
download | ruby-b5fa3639c7fa37ca4d41a589ad3c07d22ee16ea6.tar.gz |
imemo_mask (enum) -> IMEMO_MASK (immediate value).
* internal.h: imemo_mask is not a valid imemo type but
switch statements show warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/objspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index d1ccb51094..61fb6a99f3 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -554,7 +554,7 @@ count_tdata_objects(int argc, VALUE *argv, VALUE self) return hash; } -static ID imemo_type_ids[imemo_mask+1]; +static ID imemo_type_ids[IMEMO_MASK+1]; static int count_imemo_objects_i(void *vstart, void *vend, size_t stride, void *data) |