[Groonga-commit] groonga/groonga at e0835c1 [master] Extract header file for grn_type

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 12 11:33:45 JST 2016


Kouhei Sutou	2016-01-12 11:33:45 +0900 (Tue, 12 Jan 2016)

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

  Message:
    Extract header file for grn_type

  Added files:
    include/groonga/type.h
  Modified files:
    include/groonga/groonga.h

  Modified: include/groonga/groonga.h (+0 -3)
===================================================================
--- include/groonga/groonga.h    2016-01-12 11:24:56 +0900 (0cd780a)
+++ include/groonga/groonga.h    2016-01-12 11:33:45 +0900 (aa15684)
@@ -484,9 +484,6 @@ typedef enum {
 GRN_API grn_obj *grn_ctx_at(grn_ctx *ctx, grn_id id);
 GRN_API grn_bool grn_ctx_is_opened(grn_ctx *ctx, grn_id id);
 
-GRN_API grn_obj *grn_type_create(grn_ctx *ctx, const char *name, unsigned int name_size,
-                                 grn_obj_flags flags, unsigned int size);
-
 GRN_API grn_rc grn_plugin_register(grn_ctx *ctx, const char *name);
 GRN_API grn_rc grn_plugin_unregister(grn_ctx *ctx, const char *name);
 GRN_API grn_rc grn_plugin_register_by_path(grn_ctx *ctx, const char *path);

  Added: include/groonga/type.h (+30 -0) 100644
===================================================================
--- /dev/null
+++ include/groonga/type.h    2016-01-12 11:33:45 +0900 (d248787)
@@ -0,0 +1,30 @@
+/*
+  Copyright(C) 2009-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_obj *grn_type_create(grn_ctx *ctx, const char *name, unsigned int name_size,
+                                 grn_obj_flags flags, unsigned int size);
+
+#ifdef __cplusplus
+}
+#endif
-------------- next part --------------
HTML����������������������������...
Download 



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