You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** C string representation of the class' name. You must free this string. */
char* rb_class2name(VALUE class_handle);
/** String representation of the object's class' name. You must free this string. */
char* rb_obj_classname(VALUE object_handle);
They are noticed that "You must free this string." But it must not be freed as far as I checked.
The notice should be deleted and the return type should be changed to 'const char *' as MRI does.
The text was updated successfully, but these errors were encountered:
In MRI, rb_class2name and rb_obj_classname are declared as follows:
The return value must not be freed.
In Rubinius, they are declared as follows:
They are noticed that "You must free this string." But it must not be freed as far as I checked.
The notice should be deleted and the return type should be changed to 'const char *' as MRI does.
The text was updated successfully, but these errors were encountered: