[Groonga-commit] groonga/groonga at d9997aa [master] Use "0xXX<<Y" style for flag

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 23 11:12:56 JST 2013


Kouhei Sutou	2013-05-23 11:12:56 +0900 (Thu, 23 May 2013)

  New Revision: d9997aad31a2a1b19d599a8230fe369b6866fe14
  https://github.com/groonga/groonga/commit/d9997aad31a2a1b19d599a8230fe369b6866fe14

  Message:
    Use "0xXX<<Y" style for flag

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2013-05-23 11:10:35 +0900 (a105e1e)
+++ lib/db.c    2013-05-23 11:12:56 +0900 (95f0687)
@@ -34,7 +34,7 @@
 
 #define NEXT_ADDR(p) (((byte *)(p)) + sizeof *(p))
 
-#define GRN_TABLE_GROUPED 1
+#define GRN_TABLE_GROUPED (0x01<<0)
 #define GRN_TABLE_IS_GROUPED(table)\
   (((grn_hash *)(table))->obj.header.impl_flags & GRN_TABLE_GROUPED)
 #define GRN_TABLE_GROUPED_ON(table)\
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index