[ruby-cvs:69051] normal:r61870 (trunk): timev.h: just use "unsigned int" for bitfields

normal at ruby-lang.org normal at ruby-lang.org
Tue Jan 16 15:36:05 JST 2018


normal	2018-01-16 15:36:05 +0900 (Tue, 16 Jan 2018)

  New Revision: 61870

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

  Log:
    timev.h: just use "unsigned int" for bitfields
    
    There's no point in having separate types depending on C dialect
    when using bitfields, "unsigned int" bitfields are bitfields
    anywhere.
    
    Note: we also have test_memsize in test_time.rb in case
    users of other platforms want to enable size assertions
    if they don't trust their compiler.

  Modified files:
    trunk/timev.h


More information about the ruby-cvs mailing list