mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 11:18:06 +08: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
@ -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…
x
Reference in New Issue
Block a user