mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Freeze RbConfig::SIZEOF and RbConfig::LIMITS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
489776e284
commit
e4262e991d
2 changed files with 3 additions and 1 deletions
|
@ -93,4 +93,5 @@ Init_limits(void)
|
|||
#undef DEFINE
|
||||
#undef MIN2NUM
|
||||
#undef MAX2NUM
|
||||
OBJ_FREEZE(h);
|
||||
}
|
||||
|
|
|
@ -47,7 +47,8 @@ Init_sizeof(void)
|
|||
DEFINE(<%= type %>, <%= type.tr_cpp %>);
|
||||
#endif
|
||||
% end
|
||||
OBJ_FREEZE(s);
|
||||
|
||||
#undef DEFINE
|
||||
Init_limits();
|
||||
Init_limits();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue