Ruby  2.1.3p242(2014-09-19revision47630)
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 
28 void rb_free_const_table(st_table *tbl);
32 int rb_public_const_defined(VALUE klass, ID id);
33 int rb_public_const_defined_at(VALUE klass, ID id);
35 
36 #endif /* CONSTANT_H */
37