Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Use rb_ary_entry instead of RARRAY_PTR #877

merged 1 commit into from May 15, 2013
Commits on Mar 26, 2013
  1. Use a rb_ary_entry and not RARRAY_PTR()

    dbussink committed Mar 26, 2013
    For MRI, this doesn't make a difference, but on Rubinius this prevents
    having to setup a backing store for copying over the internal array
    pointers. This was the only case where RARRAY_PTR was used, other places
    already use rb_ary_entry, so it should be a good change for consistency
    as well.