summaryrefslogtreecommitdiff
path: root/template/sizes.c.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:33:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:33:40 +0000
commite4262e991d50a211572da66c7fafbb3cba9e6651 (patch)
treedc80a7589249c9d5f33dac30144f1cc6c70a1fe7 /template/sizes.c.tmpl
parent489776e284a4543076592582a9d8b1615ceb1009 (diff)
Freeze RbConfig::SIZEOF and RbConfig::LIMITS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/sizes.c.tmpl')
-rw-r--r--template/sizes.c.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl
index 75c1ff22c9..0fc8fe8218 100644
--- a/template/sizes.c.tmpl
+++ b/template/sizes.c.tmpl
@@ -47,7 +47,8 @@ Init_sizeof(void)
DEFINE(<%= type %>, <%= type.tr_cpp %>);
#endif
% end
+ OBJ_FREEZE(s);
#undef DEFINE
- Init_limits();
+ Init_limits();
}