|
Ruby
2.0.0p481(2014-05-08revision45883)
|

Go to the source code of this file.
Data Structures | |
| struct | rb_const_entry_struct |
Typedefs | |
| typedef struct rb_const_entry_struct | rb_const_entry_t |
Enumerations | |
| enum | rb_const_flag_t { CONST_PUBLIC = 0x00, CONST_PRIVATE = 0x01 } |
Functions | |
| VALUE | rb_mod_private_constant (int argc, VALUE *argv, VALUE obj) |
| VALUE | rb_mod_public_constant (int argc, VALUE *argv, VALUE obj) |
| void | rb_free_const_table (st_table *tbl) |
| VALUE | rb_public_const_get (VALUE klass, ID id) |
| VALUE | rb_public_const_get_at (VALUE klass, ID id) |
| VALUE | rb_public_const_get_from (VALUE klass, ID id) |
| int | rb_public_const_defined (VALUE klass, ID id) |
| int | rb_public_const_defined_at (VALUE klass, ID id) |
| int | rb_public_const_defined_from (VALUE klass, ID id) |
| typedef struct rb_const_entry_struct rb_const_entry_t |
| enum rb_const_flag_t |
Definition at line 14 of file constant.h.
| void rb_free_const_table | ( | st_table * | tbl | ) |
Definition at line 814 of file gc.c.
References free_const_entry_i(), st_foreach(), and st_free_table().
Referenced by init_copy(), obj_free(), and rb_mod_init_copy().
| VALUE rb_mod_private_constant | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | obj | ||
| ) |
Definition at line 2271 of file variable.c.
References CONST_PRIVATE, and set_const_visibility().
Referenced by Init_Object().
| VALUE rb_mod_public_constant | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | obj | ||
| ) |
Definition at line 2285 of file variable.c.
References CONST_PUBLIC, and set_const_visibility().
Referenced by Init_Object().
| int rb_public_const_defined | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 2121 of file variable.c.
References FALSE, rb_const_defined_0(), and TRUE.
| int rb_public_const_defined_at | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 2127 of file variable.c.
References FALSE, rb_const_defined_0(), and TRUE.
| int rb_public_const_defined_from | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 2115 of file variable.c.
References rb_const_defined_0(), and TRUE.
Referenced by vm_get_ev_const().
| VALUE rb_public_const_get | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 1894 of file variable.c.
References FALSE, rb_const_get_0(), and TRUE.
| VALUE rb_public_const_get_at | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 1900 of file variable.c.
References FALSE, rb_const_get_0(), and TRUE.
| VALUE rb_public_const_get_from | ( | VALUE | klass, |
| ID | id | ||
| ) |
Definition at line 1888 of file variable.c.
References rb_const_get_0(), and TRUE.
Referenced by vm_get_ev_const().
1.7.6.1