Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the documentation of this file.
23 #define RB_CONST_PRIVATE_P(ce) \
24 (((ce)->flag & CONST_VISIBILITY_MASK) == CONST_PRIVATE)
25 #define RB_CONST_PUBLIC_P(ce) \
26 (((ce)->flag & CONST_VISIBILITY_MASK) == CONST_PUBLIC)
28 #define RB_CONST_DEPRECATED_P(ce) \
29 ((ce)->flag & CONST_DEPRECATED)
VALUE rb_const_source_location_at(VALUE, ID)
void rb_free_const_table(struct rb_id_table *tbl)
int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag)
VALUE rb_public_const_get_from(VALUE klass, ID id)
VALUE rb_const_source_location(VALUE, ID)
struct rb_const_entry_struct rb_const_entry_t
rb_const_entry_t * rb_const_lookup(VALUE klass, ID id)
VALUE rb_mod_deprecate_constant(int argc, const VALUE *argv, VALUE obj)
VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj)
VALUE rb_public_const_get_at(VALUE klass, ID id)
VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj)
int rb_public_const_defined_from(VALUE klass, ID id)