Module#constant_source_location [Feature #10771]

This commit is contained in:
Nobuyoshi Nakada 2018-12-13 21:49:05 +09:00
parent 5084233b88
commit 9384383019
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
4 changed files with 176 additions and 0 deletions

View file

@ -47,5 +47,8 @@ int rb_public_const_defined_at(VALUE klass, ID id);
int rb_public_const_defined_from(VALUE klass, ID id);
rb_const_entry_t *rb_const_lookup(VALUE klass, ID id);
int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag);
VALUE rb_const_source_location(VALUE, ID);
VALUE rb_const_source_location_from(VALUE, ID);
VALUE rb_const_source_location_at(VALUE, ID);
#endif /* CONSTANT_H */