4 ms·
Basic C question. In the rb_class_new_instance function, isn't "VALUE obj" a local variable and therefor should not be returned?
by shortlived 12y ago
Basic C question. In the rb_class_new_instance function, isn't "VALUE obj" a local variable and therefor should not be returned?
- montanalow 12y agoWould love to have questions like this on Omniref for other code readers. VALUE is in fact a pointer, ie a raw integer, which is pass by value in C, so it's fine to return.