diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-15 04:36:09 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-15 04:36:09 +0000 |
commit | e41b4a45a4372167adf4717e7d5e87e29b352227 (patch) | |
tree | 68543da8958a3cf2bf83afbd345c124b65044d0b /safe.c | |
parent | bca40b8b56bdfb31a791ec809a5054c016d90feb (diff) | |
download | ruby-e41b4a45a4372167adf4717e7d5e87e29b352227.tar.gz |
give up RSTRING_PTR() being VALUE-aligned
rb_setup_fake_str() can take arbitrary char* address, typicalluy
C string literals. These arguments have no guarantee of
alignment at all. It was not a wise idea for me to think
RSTRING_PTR can be aligned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'safe.c')
0 files changed, 0 insertions, 0 deletions