diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-09 19:11:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-09 19:11:32 +0000 |
commit | e3dbe84e12b3ebe95187edc3a5e9fe2f373a0388 (patch) | |
tree | 24e46c8e6f5f32db9b4aa1452bf36ff59b31bbed /internal.h | |
parent | 140f8b94ced86966fc6979e8cfc5ef3bfa68da5d (diff) | |
download | ruby-e3dbe84e12b3ebe95187edc3a5e9fe2f373a0388.tar.gz |
add setter of iter_lev.
* hash.c: add special setter function (inc and dec).
* internal.h: constify RHash::iter_leve.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index 3205050ec2..867beceb02 100644 --- a/internal.h +++ b/internal.h @@ -806,7 +806,7 @@ struct RHash { st_table *st; struct ar_table_struct *ar; /* possibly 0 */ } as; - int iter_lev; + const int iter_lev; const VALUE ifnone; }; |