rubinius/rubinius — pull request #2184 by Groogy (2013-03-03 00:49:21+00:00)
Title: Added rb_obj_instance_variables to the C-API

Spec and implementation of the function rb_obj_instance_variables in the C-API.

Currently i just call rb_funcall on the provided object and get the array from there as I saw several other C-API functions that also went this route. Brixen on IRC also noted that it was favorable of having it this way.

Fixes issue #2183