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
include
mruby
irep.h
Go to the documentation of this file.
1
/*
2
** mruby/irep.h - mrb_irep structure
3
**
4
** See Copyright Notice in mruby.h
5
*/
6
7
#ifndef MRUBY_IREP_H
8
#define MRUBY_IREP_H
9
10
#if defined(__cplusplus)
11
extern
"C"
{
12
#endif
13
14
/* Program data array struct */
15
typedef
struct
mrb_irep
{
16
uint32_t
idx
;
17
uint16_t
nlocals
;
/* Number of local variables */
18
uint16_t
nregs
;
/* Number of register variables */
19
uint8_t
flags
;
20
21
mrb_code
*
iseq
;
22
mrb_value
*
pool
;
23
mrb_sym
*
syms
;
24
25
/* debug info */
26
const
char
*
filename
;
27
uint16_t *
lines
;
28
struct
mrb_irep_debug_info
*
debug_info
;
29
30
size_t
ilen
,
plen
,
slen
;
31
}
mrb_irep
;
32
33
#define MRB_ISEQ_NO_FREE 1
34
35
mrb_irep
*
mrb_add_irep
(
mrb_state
*mrb);
36
mrb_value
mrb_load_irep
(
mrb_state
*,
const
uint8_t*);
37
38
#if defined(__cplusplus)
39
}
/* extern "C" { */
40
#endif
41
42
#endif
/* MRUBY_IREP_H */
Generated on Sun Nov 10 2013 09:49:05 for Groonga 3.0.9 Source Code Document by
1.8.1.2