[ruby-cvs:72875] normal:r65775 (trunk): vm_core.h (rb_thread_set_current*): convert to static inline

normal at ruby-lang.org normal at ruby-lang.org
Sun Nov 18 10:37:41 JST 2018


normal	2018-11-18 10:37:41 +0900 (Sun, 18 Nov 2018)

  New Revision: 65775

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

  Log:
    vm_core.h (rb_thread_set_current*): convert to static inline
    
    We already use "static inline" heavily and there should be no
    penalty for modern compilers; this adds type-checking, too.
    
    This will make future changes easier-to-review.

  Modified files:
    trunk/vm_core.h


More information about the ruby-cvs mailing list