diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/variable.c b/variable.c index b0f87923d4..afa633151d 100644 --- a/variable.c +++ b/variable.c @@ -2418,12 +2418,6 @@ rb_public_const_get_from(VALUE klass, ID id) return rb_const_get_0(klass, id, TRUE, TRUE, TRUE); } -VALUE -rb_public_const_get(VALUE klass, ID id) -{ - return rb_const_get_0(klass, id, FALSE, TRUE, TRUE); -} - MJIT_FUNC_EXPORTED VALUE rb_public_const_get_at(VALUE klass, ID id) { @@ -2477,12 +2471,6 @@ rb_const_location(VALUE klass, ID id, int exclude, int recurse, int visibility) } VALUE -rb_const_source_location_from(VALUE klass, ID id) -{ - return rb_const_location(klass, id, TRUE, TRUE, FALSE); -} - -VALUE rb_const_source_location(VALUE klass, ID id) { return rb_const_location(klass, id, FALSE, TRUE, FALSE); @@ -2725,18 +2713,6 @@ rb_public_const_defined_from(VALUE klass, ID id) return rb_const_defined_0(klass, id, TRUE, TRUE, TRUE); } -int -rb_public_const_defined(VALUE klass, ID id) -{ - return rb_const_defined_0(klass, id, FALSE, TRUE, TRUE); -} - -int -rb_public_const_defined_at(VALUE klass, ID id) -{ - return rb_const_defined_0(klass, id, TRUE, FALSE, TRUE); -} - static void check_before_mod_set(VALUE klass, ID id, VALUE val, const char *dest) { |