[Groonga-commit] groonga/groonga [master] Name an anonymous enum: grn_token_status

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 21 13:25:01 JST 2012


Kouhei Sutou	2012-12-21 13:25:01 +0900 (Fri, 21 Dec 2012)

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

  Log:
    Name an anonymous enum: grn_token_status

  Modified files:
    lib/token.h

  Modified: lib/token.h (+2 -2)
===================================================================
--- lib/token.h    2012-12-21 13:16:44 +0900 (ddb0210)
+++ lib/token.h    2012-12-21 13:25:01 +0900 (7f67eba)
@@ -61,11 +61,11 @@ typedef struct {
   grn_obj *nstr;
 } grn_token;
 
-enum {
+typedef enum {
   grn_token_doing = 0,
   grn_token_done,
   grn_token_not_found
-};
+} grn_token_status;
 
 #define GRN_TOKEN_LAST      (0x01L<<0)
 #define GRN_TOKEN_OVERLAP   (0x01L<<1)
-------------- next part --------------
HTML����������������������������...
Télécharger 



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