Kouhei Sutou
null+****@clear*****
Tue Oct 21 22:02:23 JST 2014
Kouhei Sutou 2014-10-21 22:02:23 +0900 (Tue, 21 Oct 2014) New Revision: 7128dfd61d57dbe6bf8fcfd9175ea9ce2b163ecd https://github.com/groonga/groonga/commit/7128dfd61d57dbe6bf8fcfd9175ea9ce2b163ecd Message: Keep backward compatibility for LZO remove Modified files: include/groonga.h Modified: include/groonga.h (+6 -0) =================================================================== --- include/groonga.h 2014-10-21 21:58:32 +0900 (31a95e2) +++ include/groonga.h 2014-10-21 22:02:23 +0900 (b1e876a) @@ -105,6 +105,8 @@ typedef enum { GRN_ADDRESS_IS_IN_USE = -59, GRN_ZLIB_ERROR = -60, GRN_LZ4_ERROR = -61, +/* Just for backward compatibility. We'll remove it****@5*****. */ +#define GRN_LZO_ERROR GRN_LZ4_ERROR GRN_STACK_OVER_FLOW = -62, GRN_SYNTAX_ERROR = -63, GRN_RETRY_MAX = -64, @@ -301,6 +303,8 @@ typedef unsigned short int grn_obj_flags; #define GRN_OBJ_COMPRESS_NONE (0x00<<4) #define GRN_OBJ_COMPRESS_ZLIB (0x01<<4) #define GRN_OBJ_COMPRESS_LZ4 (0x02<<4) +/* Just for backward compatibility. We'll remove it****@5*****. */ +#define GRN_OBJ_COMPRESS_LZO GRN_OBJ_COMPRESS_LZ4 #define GRN_OBJ_WITH_SECTION (0x01<<7) #define GRN_OBJ_WITH_WEIGHT (0x01<<8) @@ -792,6 +796,8 @@ typedef enum { GRN_INFO_II_SPLIT_THRESHOLD, GRN_INFO_SUPPORT_ZLIB, GRN_INFO_SUPPORT_LZ4, +/* Just for backward compatibility. We'll remove it****@5*****. */ +#define GRN_INFO_SUPPORT_LZO GRN_INFO_SUPPORT_LZ4 GRN_INFO_NORMALIZER, GRN_INFO_TOKEN_FILTERS } grn_info_type; -------------- next part -------------- HTML����������������������������... 다운로드