diff options
author | Aaron Patterson <[email protected]> | 2019-05-18 12:23:47 +0300 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2019-05-18 12:24:28 +0300 |
commit | 154a67f140a8397df77d82cdc80e13b291b8aedd (patch) | |
tree | b2f637ae3b7310aa1004b92d648a906f7f2c59a0 /include/ruby/intern.h | |
parent | bbb84a16fab8e715a108c318e9e0e019339eb972 (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/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 2 |
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); |