[Groonga-commit] groonga/groonga [master] FIxed missing prototype declaration of grn_expr_get_or_add_var()

Back to archive index

null+****@clear***** null+****@clear*****
2010年 6月 14日 (月) 23:05:21 JST


Daijiro MORI	2010-06-14 14:05:21 +0000 (Mon, 14 Jun 2010)

  New Revision: 43c95e66e350bd81d17dd8d856c9a7e9a057acfe

  Log:
    FIxed missing prototype declaration of grn_expr_get_or_add_var()

  Modified files:
    lib/ctx.c
    lib/db.h

  Modified: lib/ctx.c (+0 -1)
===================================================================
--- lib/ctx.c    2010-06-14 12:38:15 +0000 (1803b45)
+++ lib/ctx.c    2010-06-14 14:05:21 +0000 (055443f)
@@ -428,7 +428,6 @@ grn_ctx_fin(grn_ctx *ctx)
     rc = grn_obj_close(ctx, ctx->impl->outbuf);
     rc = grn_bulk_fin(ctx, &ctx->impl->subbuf);
     {
-      uint32_t i;
       grn_hash **vp;
       grn_obj *value;
       GRN_HASH_EACH(ctx, ctx->impl->expr_vars, eid, NULL, NULL, &vp, {

  Modified: lib/db.h (+3 -0)
===================================================================
--- lib/db.h    2010-06-14 12:38:15 +0000 (f95e216)
+++ lib/db.h    2010-06-14 14:05:21 +0000 (e1a5c7f)
@@ -192,6 +192,9 @@ grn_obj *grn_proc_get_var_by_offset(grn_ctx *ctx, grn_user_data *user_data,
 grn_obj *grn_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
                         grn_id domain, grn_obj_flags flags);
 
+grn_obj *grn_expr_get_or_add_var(grn_ctx *ctx, grn_obj *expr,
+                                 const char *name, unsigned name_size);
+
 typedef struct _grn_accessor_view grn_accessor_view;
 
 struct _grn_accessor_view {




Groonga-commit メーリングリストの案内
Back to archive index