|
@@ -2537,12 +2537,12 @@ static BOOL ArrayDefault_IsValidValue(int32_t value) {
|
|
return [_array countByEnumeratingWithState:state objects:buffer count:len];
|
|
return [_array countByEnumeratingWithState:state objects:buffer count:len];
|
|
}
|
|
}
|
|
|
|
|
|
-- (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block {
|
|
|
|
|
|
+- (void)enumerateObjectsUsingBlock:(void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {
|
|
[_array enumerateObjectsUsingBlock:block];
|
|
[_array enumerateObjectsUsingBlock:block];
|
|
}
|
|
}
|
|
|
|
|
|
- (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts
|
|
- (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts
|
|
- usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block {
|
|
|
|
|
|
+ usingBlock:(void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {
|
|
[_array enumerateObjectsWithOptions:opts usingBlock:block];
|
|
[_array enumerateObjectsWithOptions:opts usingBlock:block];
|
|
}
|
|
}
|
|
|
|
|