diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-13 12:11:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-13 12:11:57 +0000 |
commit | 506e11a886d71f368f171c4bba61ca987f67b355 (patch) | |
tree | 398fa7eb0314cee06d4a77745255afe2704dd2cc /enum.c | |
parent | a5674b00bdef0c3442745d0b554f09a532f9a71a (diff) | |
download | ruby-506e11a886d71f368f171c4bba61ca987f67b355.tar.gz |
string.c: STR_EMBEDABLE_P
* string.c (STR_EMBEDABLE_P): extract the predicate macro to tell
if the given length is capable in an embedded string, and fix
possible integer overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
0 files changed, 0 insertions, 0 deletions