susumu.yata
null+****@clear*****
Wed Sep 9 01:09:14 JST 2015
susumu.yata 2015-09-09 01:09:14 +0900 (Wed, 09 Sep 2015) New Revision: 52285ab3ec438957d63a2423877e874dcdc7e6a3 https://github.com/groonga/groonga/commit/52285ab3ec438957d63a2423877e874dcdc7e6a3 Message: grn_ts: update a comment GitHub: #394 Modified files: lib/ts.c Modified: lib/ts.c (+5 -1) =================================================================== --- lib/ts.c 2015-09-09 00:39:36 +0900 (a1a4671) +++ lib/ts.c 2015-09-09 01:09:14 +0900 (79c42e9) @@ -85,7 +85,11 @@ grn_ts_buf_close(grn_ctx *ctx, grn_ts_buf *buf) { } } -/* grn_ts_buf_reserve() reserves enough memory to store new_size bytes. */ +/* + * grn_ts_buf_reserve() reserves enough memory to store new_size bytes. + * Note that this function never shrinks a buffer and does nothing if new_size + * is not greater than the current size. + */ static grn_rc grn_ts_buf_reserve(grn_ctx *ctx, grn_ts_buf *buf, size_t new_size) { void *new_ptr; -------------- next part -------------- HTML����������������������������...Download