[ruby-cvs:69016] shyouhei:r61835 (trunk): give up RSTRING_PTR() being VALUE-aligned

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Jan 15 13:36:09 JST 2018


shyouhei	2018-01-15 13:36:09 +0900 (Mon, 15 Jan 2018)

  New Revision: 61835

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61835

  Log:
    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.

  Modified files:
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list