diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-08-12 16:09:21 -0400 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-08-12 16:44:54 -0400 |
commit | aac4d9d6c7e6b6b0742f3941b574f6006ccb5672 (patch) | |
tree | b1f2906b04075227249ee040111e94a846b99ab2 /include/ruby/intern.h | |
parent | 404850e13446c79fb6142f1b32b219753e5cd726 (diff) | |
download | ruby-aac4d9d6c7e6b6b0742f3941b574f6006ccb5672.tar.gz |
Rename rb_gc_mark_no_pin -> rb_gc_mark_movable
Renaming this function. "No pin" leaks some implementation details. We
just want users to know that if they mark this object, the reference may
move and they'll need to update the reference accordingly.
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 63fce40585..9f8462ef13 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -515,7 +515,7 @@ void rb_mark_hash(struct st_table*); 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); +void rb_gc_mark_movable(VALUE); VALUE rb_gc_location(VALUE); void rb_gc_force_recycle(VALUE); void rb_gc(void); |