[ruby-cvs:69024] shyouhei:r61843 (trunk): take alignof instead of sizeof

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Jan 15 15:47:56 JST 2018


shyouhei	2018-01-15 15:47:56 +0900 (Mon, 15 Jan 2018)

  New Revision: 61843

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

  Log:
    take alignof instead of sizeof
    
    win32ole.c includes ALLOCA_N(struct myCPINFOEX, 1).  On such case
    it is not a wise idea to align to the size of that struct.

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


More information about the ruby-cvs mailing list