Groonga 3.0.9 Source Code Document
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
groonga
lib
mrb.h
Go to the documentation of this file.
1
/* -*- c-basic-offset: 2 -*- */
2
/*
3
Copyright(C) 2013 Brazil
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License version 2.1 as published by the Free Software Foundation.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef GRN_MRB_H
20
#define GRN_MRB_H
21
22
#include "
groonga_in.h
"
23
#include "
ctx.h
"
24
25
#ifdef GRN_WITH_MRUBY
26
# include <
mruby.h
>
27
#endif
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
#ifdef GRN_WITH_MRUBY
34
mrb_value
grn_mrb_eval(
grn_ctx
*ctx,
const
char
*script,
int
script_length);
35
mrb_value
grn_mrb_load(
grn_ctx
*ctx,
const
char
*path);
36
grn_rc
grn_mrb_to_grn(
grn_ctx
*ctx,
mrb_value
mrb_object
,
grn_obj
*grn_object);
37
#endif
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* GRN_MRB_H */
Generated on Sun Nov 10 2013 09:49:03 for Groonga 3.0.9 Source Code Document by
1.8.1.2