[Groonga-commit] groonga/groonga at a69084b [master] Mark GRN_OBJ_FORMAT_ASARRAY as deprecated

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 21 15:55:09 JST 2014


Kouhei Sutou	2014-02-21 15:55:09 +0900 (Fri, 21 Feb 2014)

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

  Message:
    Mark GRN_OBJ_FORMAT_ASARRAY as deprecated
    
    It will be remov****@5*****. Use GRN_OBJ_FORMAT_AS_ARRAY instead.
    
    By the way, is the flag used? There is no code that uses the flag in
    Groonga source. Can we remove it?

  Modified files:
    include/groonga.h

  Modified: include/groonga.h (+4 -1)
===================================================================
--- include/groonga.h    2014-02-21 15:40:42 +0900 (1b1cf7b)
+++ include/groonga.h    2014-02-21 15:55:09 +0900 (4a737fb)
@@ -1204,7 +1204,10 @@ GRN_API grn_rc grn_text_time2rfc1123(grn_ctx *ctx, grn_obj *bulk, int sec);
 typedef struct _grn_obj_format grn_obj_format;
 
 #define GRN_OBJ_FORMAT_WITH_COLUMN_NAMES   (0x01<<0)
-#define GRN_OBJ_FORMAT_ASARRAY             (0x01<<3)
+#define GRN_OBJ_FORMAT_AS_ARRAY            (0x01<<3)
+/* Deprecated since 4.0.1. It will be remov****@5*****.
+   Use GRN_OBJ_FORMAT_AS_ARRAY instead.*/
+#define GRN_OBJ_FORMAT_ASARRAY             GRN_OBJ_FORMAT_AS_ARRAY
 
 struct _grn_obj_format {
   grn_obj columns;
-------------- next part --------------
HTML����������������������������...
下載 



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