Ruby  2.1.10p492(2016-04-01revision54464)
constant.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  constant.h -
4 
5  $Author$
6  created at: Sun Nov 15 00:09:33 2009
7 
8  Copyright (C) 2009 Yusuke Endoh
9 
10 **********************************************************************/
11 #ifndef CONSTANT_H
12 #define CONSTANT_H
13 
14 typedef enum {
15  CONST_PUBLIC = 0x00,
18 
19 typedef struct rb_const_entry_struct {
21  const VALUE value; /* should be mark */
22  const VALUE file; /* should be mark */
23  int line;
25 
35 
36 #endif /* CONSTANT_H */
Definition: constant.h:19
const VALUE file
Definition: constant.h:22
int rb_public_const_defined(VALUE klass, ID id)
Definition: variable.c:2145
const VALUE value
Definition: constant.h:21
int rb_public_const_defined_at(VALUE klass, ID id)
Definition: variable.c:2151
struct rb_const_entry_struct rb_const_entry_t
VALUE tbl
Definition: tkutil.c:1280
int line
Definition: constant.h:23
rb_const_flag_t
Definition: constant.h:14
rb_const_flag_t flag
Definition: constant.h:20
unsigned long ID
Definition: ripper.y:89
VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj)
Definition: variable.c:2291
static VALUE VALUE obj
Definition: tcltklib.c:3150
int rb_public_const_defined_from(VALUE klass, ID id)
Definition: variable.c:2139
VALUE * argv
Definition: tcltklib.c:1969
VALUE rb_mod_public_constant(int argc, VALUE *argv, VALUE obj)
Definition: variable.c:2305
int argc
Definition: tcltklib.c:1968
void rb_free_const_table(st_table *tbl)
Definition: gc.c:1466
VALUE rb_public_const_get(VALUE klass, ID id)
Definition: variable.c:1898
klass
Definition: tcltklib.c:3496
VALUE rb_public_const_get_at(VALUE klass, ID id)
Definition: variable.c:1904
unsigned long VALUE
Definition: ripper.y:88
VALUE rb_public_const_get_from(VALUE klass, ID id)
Definition: variable.c:1892