[Groonga-commit] groonga/groonga at a1f835f [master] Export grn_vector_pop_element()

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Sep 23 16:10:04 JST 2015


Kouhei Sutou	2015-09-23 16:10:04 +0900 (Wed, 23 Sep 2015)

  New Revision: a1f835fcf062f41c9fd631f3b73b0d31432942cc
  https://github.com/groonga/groonga/commit/a1f835fcf062f41c9fd631f3b73b0d31432942cc

  Message:
    Export grn_vector_pop_element()

  Modified files:
    include/groonga/groonga.h
    lib/grn_db.h

  Modified: include/groonga/groonga.h (+4 -0)
===================================================================
--- include/groonga/groonga.h    2015-09-22 17:04:35 +0900 (c66146e)
+++ include/groonga/groonga.h    2015-09-23 16:10:04 +0900 (54a3b01)
@@ -960,6 +960,10 @@ GRN_API grn_rc grn_vector_add_element(grn_ctx *ctx, grn_obj *vector,
 GRN_API unsigned int grn_vector_get_element(grn_ctx *ctx, grn_obj *vector,
                                             unsigned int offset, const char **str,
                                             unsigned int *weight, grn_id *domain);
+GRN_API unsigned int grn_vector_pop_element(grn_ctx *ctx, grn_obj *vector,
+                                            const char **str,
+                                            unsigned int *weight,
+                                            grn_id *domain);
 
 /*-------------------------------------------------------------
  * grn_uvector

  Modified: lib/grn_db.h (+0 -3)
===================================================================
--- lib/grn_db.h    2015-09-22 17:04:35 +0900 (dca1cfc)
+++ lib/grn_db.h    2015-09-23 16:10:04 +0900 (5b534b2)
@@ -260,9 +260,6 @@ int grn_vector_delimit(grn_ctx *ctx, grn_obj *vector);
 int grn_vector_size(grn_ctx *ctx, grn_obj *vector);
 */
 
-unsigned int grn_vector_pop_element(grn_ctx *ctx, grn_obj *vector,
-                                    const char **str, unsigned int *weight, grn_id *domain);
-
 grn_rc grn_vector_delimit(grn_ctx *ctx, grn_obj *v, unsigned int weight, grn_id domain);
 grn_rc grn_vector_decode(grn_ctx *ctx, grn_obj *v, const char *data, uint32_t data_size);
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index