summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-05-18 12:23:47 +0300
committerAaron Patterson <tenderlove@ruby-lang.org>2019-05-18 12:24:28 +0300
commit154a67f140a8397df77d82cdc80e13b291b8aedd (patch)
treeb2f637ae3b7310aa1004b92d648a906f7f2c59a0 /include
parentbbb84a16fab8e715a108c318e9e0e019339eb972 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h2
1 files changed, 1 insertions, 1 deletions
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);