Kouhei Sutou
null+****@clear*****
Sun Aug 10 12:04:27 JST 2014
Kouhei Sutou 2014-08-10 12:04:27 +0900 (Sun, 10 Aug 2014) New Revision: be57fa91141ca54b418489f2a785cc734a1e579a https://github.com/groonga/groonga/commit/be57fa91141ca54b418489f2a785cc734a1e579a Message: Hide grn_expr_get_keywords() It is not stable API. Modified files: include/groonga.h lib/expr.h lib/proc.c Modified: include/groonga.h (+0 -2) =================================================================== --- include/groonga.h 2014-08-10 12:00:40 +0900 (32a7870) +++ include/groonga.h 2014-08-10 12:04:27 +0900 (4460f1b) @@ -1748,8 +1748,6 @@ GRN_API grn_rc grn_expr_snip_add_conditions(grn_ctx *ctx, const char **closetags, unsigned int *closetag_lens); -GRN_API grn_rc grn_expr_get_keywords(grn_ctx *ctx, grn_obj *expr, grn_obj *got_keywords); - GRN_API grn_table_sort_key *grn_table_sort_key_from_str(grn_ctx *ctx, const char *str, unsigned int str_size, grn_obj *table, unsigned int *nkeys); Modified: lib/expr.h (+1 -0) =================================================================== --- lib/expr.h 2014-08-10 12:00:40 +0900 (c2e8ebe) +++ lib/expr.h 2014-08-10 12:04:27 +0900 (ab5ec6b) @@ -59,6 +59,7 @@ grn_bool grn_scan_info_push_arg(scan_info *si, grn_obj *arg); grn_obj *grn_scan_info_get_arg(grn_ctx *ctx, scan_info *si, int i); int32_t grn_expr_code_get_weight(grn_ctx *ctx, grn_expr_code *ec); +grn_rc grn_expr_get_keywords(grn_ctx *ctx, grn_obj *expr, grn_obj *got_keywords); #ifdef __cplusplus } Modified: lib/proc.c (+1 -0) =================================================================== --- lib/proc.c 2014-08-10 12:00:40 +0900 (bc13a42) +++ lib/proc.c 2014-08-10 12:04:27 +0900 (915b46d) @@ -24,6 +24,7 @@ #include "pat.h" #include "geo.h" #include "token.h" +#include "expr.h" #include <string.h> #include <stdlib.h> -------------- next part -------------- HTML����������������������������... 下载