[ruby-cvs:61553] naruse:r54391 (trunk): * include/ruby/ruby.h (rb_isupper, rb_islower, rb_isalpha, rb_isdigit,

naruse at ruby-lang.org naruse at ruby-lang.org
Tue Mar 29 19:24:05 JST 2016


naruse	2016-03-29 19:24:05 +0900 (Tue, 29 Mar 2016)

  New Revision: 54391

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

  Log:
    * include/ruby/ruby.h (rb_isupper, rb_islower, rb_isalpha, rb_isdigit,
      rb_isalnum, rb_isxdigit, rb_isblank, rb_isspace, rb_isblank,
      rb_iscntrl, rb_isprint, rb_ispunct, rb_isgraph,
      rb_tolower, rb_toupper): use inline function to avoid function call.
    
    * include/ruby/ruby.h (rb_isascii): use inline function to clarify
      the logic.

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list