From 154a67f140a8397df77d82cdc80e13b291b8aedd Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sat, 18 May 2019 12:23:47 +0300 Subject: Rename rb_gc_new_location to rb_gc_location The function will return new or existing locations depending on whether or not the object actually moved, so give it a more appropriate name. --- include/ruby/intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index efe2f31eb6..d629d08830 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -515,7 +515,7 @@ void rb_update_st_references(struct st_table *ht); void rb_gc_mark_maybe(VALUE); void rb_gc_mark(VALUE); void rb_gc_mark_no_pin(VALUE); -VALUE rb_gc_new_location(VALUE); +VALUE rb_gc_location(VALUE); void rb_gc_force_recycle(VALUE); void rb_gc(void); void rb_gc_copy_finalizer(VALUE,VALUE); -- cgit v1.2.3