Skip to content

Commit

Permalink
add rb_gc_register_address() MRI API
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4825 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Oct 25, 2010
1 parent cccfd97 commit ac9d685
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,3 +1050,9 @@ rb_global_variable(VALUE *slot)
{
auto_zone_add_root(__auto_zone, (void *)slot, *(void **)slot);
}

void
rb_gc_register_address(VALUE *slot)
{
rb_global_variable(slot);
}

0 comments on commit ac9d685

Please sign in to comment.