Kouhei Sutou
null+****@clear*****
Sun Nov 9 14:30:28 JST 2014
Kouhei Sutou 2014-11-09 14:30:28 +0900 (Sun, 09 Nov 2014) New Revision: 47d74ff0c9852bab878b524cb98fd7e6ed5de8e0 https://github.com/groonga/groonga/commit/47d74ff0c9852bab878b524cb98fd7e6ed5de8e0 Message: Export grn_ii_estimate_size() Modified files: include/groonga/ii.h lib/grn_ii.h Modified: include/groonga/ii.h (+2 -0) =================================================================== --- include/groonga/ii.h 2014-11-09 14:28:51 +0900 (181d025) +++ include/groonga/ii.h 2014-11-09 14:30:28 +0900 (1bd8ce2) @@ -27,6 +27,8 @@ extern "C" { typedef struct _grn_ii grn_ii; typedef struct _grn_ii_buffer grn_ii_buffer; +GRN_API unsigned int grn_ii_estimate_size(grn_ctx *ctx, grn_ii *ii, grn_id tid); + GRN_API grn_ii_buffer *grn_ii_buffer_open(grn_ctx *ctx, grn_ii *ii, long long unsigned int update_buffer_size); GRN_API grn_rc grn_ii_buffer_append(grn_ctx *ctx, Modified: lib/grn_ii.h (+0 -2) =================================================================== --- lib/grn_ii.h 2014-11-09 14:28:51 +0900 (903c803) +++ lib/grn_ii.h 2014-11-09 14:30:28 +0900 (e60d8b1) @@ -102,8 +102,6 @@ grn_rc grn_ii_updspec_close(grn_ctx *ctx, grn_ii_updspec *u); grn_rc grn_ii_updspec_add(grn_ctx *ctx, grn_ii_updspec *u, int pos, int32_t weight); int grn_ii_updspec_cmp(grn_ii_updspec *a, grn_ii_updspec *b); -uint32_t grn_ii_estimate_size(grn_ctx *ctx, grn_ii *ii, uint32_t key); - void grn_ii_expire(grn_ctx *ctx, grn_ii *ii); typedef struct { -------------- next part -------------- HTML����������������������������... 下載