[Groonga-commit] groonga/groonga at f4c968d [master] Export grn_accessor_resolve()

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Fri Nov 11 16:12:13 JST 2016


Kouhei Sutou	2016-11-11 16:12:13 +0900 (Fri, 11 Nov 2016)

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

  Message:
    Export grn_accessor_resolve()
    
    It's useful for implementing selector as a plugin.

  Added files:
    include/groonga/accessor.h
  Modified files:
    include/groonga.h
    include/groonga/Makefile.am
    lib/grn_db.h

  Modified: include/groonga.h (+1 -0)
===================================================================
--- include/groonga.h    2016-11-11 16:07:05 +0900 (b768f90)
+++ include/groonga.h    2016-11-11 16:12:13 +0900 (0586fc5)
@@ -21,6 +21,7 @@
 #include "groonga/portability.h"
 #include "groonga/groonga.h"
 
+#include "groonga/accessor.h"
 #include "groonga/array.h"
 #include "groonga/column.h"
 #include "groonga/config.h"

  Modified: include/groonga/Makefile.am (+1 -0)
===================================================================
--- include/groonga/Makefile.am    2016-11-11 16:07:05 +0900 (ed31219)
+++ include/groonga/Makefile.am    2016-11-11 16:12:13 +0900 (f612f8d)
@@ -1,5 +1,6 @@
 groonga_includedir = $(pkgincludedir)/groonga
 groonga_include_HEADERS =			\
+	accessor.h				\
 	array.h					\
 	column.h				\
 	command.h				\

  Added: include/groonga/accessor.h (+34 -0) 100644
===================================================================
--- /dev/null
+++ include/groonga/accessor.h    2016-11-11 16:12:13 +0900 (4395328)
@@ -0,0 +1,34 @@
+/*
+  Copyright(C) 2012-2016 Brazil
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+#pragma once
+
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
+GRN_API grn_rc grn_accessor_resolve(grn_ctx *ctx,
+                                    grn_obj *accessor,
+                                    int deep,
+                                    grn_obj *base_res,
+                                    grn_obj *res,
+                                    grn_operator op);
+
+#ifdef __cplusplus
+}
+#endif

  Modified: lib/grn_db.h (+0 -7)
===================================================================
--- lib/grn_db.h    2016-11-11 16:07:05 +0900 (7f679f0)
+++ lib/grn_db.h    2016-11-11 16:12:13 +0900 (2877568)
@@ -445,13 +445,6 @@ GRN_API grn_rc grn_column_filter(grn_ctx *ctx, grn_obj *column,
                                  grn_obj *value, grn_obj *result_set,
                                  grn_operator set_op);
 
-grn_rc grn_accessor_resolve(grn_ctx *ctx,
-                            grn_obj *accessor,
-                            int deep,
-                            grn_obj *base_res,
-                            grn_obj *res,
-                            grn_operator op);
-
 typedef struct {
   grn_id target;
   unsigned int section;
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る