ruby-changes:1823
From: ko1@a...
Date: 30 Aug 2007 10:54:59 +0900
Subject: [ruby-changes:1823] akr - Ruby:r13314 (trunk): add comment.
akr 2007-08-30 10:54:51 +0900 (Thu, 30 Aug 2007) New Revision: 13314 Modified files: trunk/include/ruby/ruby.h Log: add comment. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/ruby.h?r1=13314&r2=13313 Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 13313) +++ include/ruby/ruby.h (revision 13314) @@ -478,10 +478,11 @@ struct RHash { struct RBasic basic; - struct st_table *ntbl; /* maybe 0 */ + struct st_table *ntbl; /* possibly 0 */ int iter_lev; VALUE ifnone; }; +/* RHASH_TBL allocates st_table if not available. */ #define RHASH_TBL(h) rb_hash_tbl(h) #define RHASH_ITER_LEV(h) (RHASH(h)->iter_lev) #define RHASH_IFNONE(h) (RHASH(h)->ifnone) @@ -548,7 +549,7 @@ struct RBignum { struct RBasic basic; - char sign; + char sign; /* positive:0, negative:1 */ long len; void *digits; }; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml