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
vendor
mruby-eeac4be
test
init_mrbtest.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include "
mruby.h
"
3
#include "
mruby/irep.h
"
4
#include "
mruby/dump.h
"
5
#include "
mruby/string.h
"
6
#include "
mruby/proc.h
"
7
8
extern
const
uint8_t
mrbtest_irep
[];
9
10
void
mrbgemtest_init
(
mrb_state
* mrb);
11
12
void
13
mrb_init_mrbtest
(
mrb_state
*mrb)
14
{
15
mrb_load_irep
(mrb,
mrbtest_irep
);
16
#ifndef DISABLE_GEMS
17
mrbgemtest_init
(mrb);
18
#endif
19
if
(mrb->
exc
) {
20
mrb_p
(mrb, mrb_obj_value(mrb->
exc
));
21
exit(EXIT_FAILURE);
22
}
23
}
24
Generated on Sun Nov 10 2013 09:49:06 for Groonga 3.0.9 Source Code Document by
1.8.1.2