As rb_objspace_each_objects_without_setup doesn't reset and restore dont_incremental flag, renamed the bare iterator as objspace_each_objects_without_setup. objspace_each_objects calls it when called with the flag disabled, wrap the arguments otherwise only.
Refactored
objspace_each_objectsAs
rb_objspace_each_objects_without_setupdoesn't reset andrestore
dont_incrementalflag, renamed the bare iterator asobjspace_each_objects_without_setup.objspace_each_objectscalls it when called with the flag disabled, wrap the arguments
otherwise only.