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_mod_public_constant(int argc, const VALUE *argv, VALUE obj)
int rb_public_const_defined(VALUE klass, ID id)
int rb_public_const_defined_at(VALUE klass, ID id)
struct rb_const_entry_struct rb_const_entry_t
int rb_public_const_defined_from(VALUE klass, ID id)
void rb_free_const_table(struct rb_id_table *tbl)
rb_const_entry_t * rb_const_lookup(VALUE klass, ID id)
VALUE rb_public_const_get(VALUE klass, ID id)
VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj)
VALUE rb_public_const_get_at(VALUE klass, ID id)
VALUE rb_public_const_get_from(VALUE klass, ID id)
VALUE rb_mod_deprecate_constant(int argc, const VALUE *argv, VALUE obj)