[前][次][番号順一覧][スレッド一覧]

ruby-changes:6251

From: shyouhei <ko1@a...>
Date: Tue, 1 Jul 2008 17:02:15 +0900 (JST)
Subject: [ruby-changes:6251] Ruby:r17764 (trunk): * include/ruby/st.h (struct st_table): type of bit-field

shyouhei	2008-07-01 16:59:21 +0900 (Tue, 01 Jul 2008)

  New Revision: 17764

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

  Log:
    * include/ruby/st.h (struct st_table): type of bit-field
      'num_entries' is a GCC extension



  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17764

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/st.h?r1=17764&r2=17763&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17764&r2=17763&diff_format=u

Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 17763)
+++ include/ruby/st.h	(revision 17764)
@@ -56,6 +56,9 @@
     const struct st_hash_type *type;
     st_index_t num_bins;
     unsigned int entries_packed : 1;
+#ifdef __GNUC__
+    __extension__
+#endif
     st_index_t num_entries : ST_INDEX_BITS - 1;
     struct st_table_entry **bins;
     struct st_table_entry *head;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17763)
+++ ChangeLog	(revision 17764)
@@ -1,5 +1,8 @@
-Tue Jul  1 16:51:35 2008  URABE Shyouhei  <shyouhei@r...>
+Tue Jul  1 16:57:44 2008  URABE Shyouhei  <shyouhei@r...>
 
+	* include/ruby/st.h (struct st_table): type of bit-field
+	  'num_entries' is a GCC extension
+
 	* include/ruby/ruby.h (rb_intern): prefix __extnsion__ for
 	  braced-groups within expressions.
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]