aboutsummaryrefslogtreecommitdiffstats
path: root/constant.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2018-12-13 21:49:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-23 01:46:38 +0900
commit93843830198ba436e2ea21a60a11758d47cf521b (patch)
tree0ad4617c10a4474f8a1357006b76bd66ee04f4fb /constant.h
parent5084233b88cc48a74b58690423df1129668d5706 (diff)
downloadruby-93843830198ba436e2ea21a60a11758d47cf521b.tar.gz
Module#constant_source_location [Feature #10771]
Diffstat (limited to 'constant.h')
-rw-r--r--constant.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/constant.h b/constant.h
index 6c8cda08db..f1a13feedb 100644
--- a/constant.h
+++ b/constant.h
@@ -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 */