From e3dbe84e12b3ebe95187edc3a5e9fe2f373a0388 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 9 Jan 2019 19:11:32 +0000 Subject: 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 --- internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal.h') 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; }; -- cgit v1.2.3