Kouhei Sutou
null+****@clear*****
Fri Nov 11 16:07:05 JST 2016
Kouhei Sutou 2016-11-11 16:07:05 +0900 (Fri, 11 Nov 2016) New Revision: 3a771fee9637672a7f2d69b77cefbc7b6676156b https://github.com/groonga/groonga/commit/3a771fee9637672a7f2d69b77cefbc7b6676156b Message: Export some ii functions * grn_ii_posting_add() * grn_ii_resolve_sel_and() They will be used by PGroonga. Modified files: include/groonga/ii.h lib/grn_ii.h Modified: include/groonga/ii.h (+4 -0) =================================================================== --- include/groonga/ii.h 2016-11-11 15:49:43 +0900 (0ab1510) +++ include/groonga/ii.h 2016-11-11 16:07:05 +0900 (f97ccb2) @@ -46,6 +46,10 @@ GRN_API grn_rc grn_ii_buffer_append(grn_ctx *ctx, GRN_API grn_rc grn_ii_buffer_commit(grn_ctx *ctx, grn_ii_buffer *ii_buffer); GRN_API grn_rc grn_ii_buffer_close(grn_ctx *ctx, grn_ii_buffer *ii_buffer); +GRN_API grn_rc grn_ii_posting_add(grn_ctx *ctx, grn_posting *pos, + grn_hash *s, grn_operator op); +GRN_API void grn_ii_resolve_sel_and(grn_ctx *ctx, grn_hash *s, grn_operator op); + /* Experimental */ typedef struct _grn_ii_cursor grn_ii_cursor; Modified: lib/grn_ii.h (+0 -3) =================================================================== --- lib/grn_ii.h 2016-11-11 15:49:43 +0900 (c668a78) +++ lib/grn_ii.h 2016-11-11 16:07:05 +0900 (752dc0e) @@ -121,9 +121,6 @@ int grn_ii_updspec_cmp(grn_ii_updspec *a, grn_ii_updspec *b); void grn_ii_expire(grn_ctx *ctx, grn_ii *ii); grn_rc grn_ii_flush(grn_ctx *ctx, grn_ii *ii); -GRN_API grn_rc grn_ii_posting_add(grn_ctx *ctx, grn_posting *pos, - grn_hash *s, grn_operator op); - grn_ii_cursor *grn_ii_cursor_openv1(grn_ii *ii, uint32_t key); grn_rc grn_ii_cursor_openv2(grn_ii_cursor **cursors, int ncursors); grn_posting *grn_ii_cursor_next_pos(grn_ctx *ctx, grn_ii_cursor *c); -------------- next part -------------- HTML����������������������������...Télécharger