Differences From Artifact [824ca8afe1]:
- File
src/OFArray.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 15272) [annotate] [blame] [check-ins using]
To Artifact [768648064e]:
- File src/OFArray.h — part of check-in [4b6dfe02f2] at 2017-06-05 18:56:57 on branch trunk — Doxyfile: Add missing defines (user: js, size: 15259) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
82 83 84 85 86 87 88 | #endif /*! * @class OFArray OFArray.h ObjFW/OFArray.h * * @brief An abstract class for storing objects in an array. */ | < | > | | | < < < < | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | #endif /*! * @class OFArray OFArray.h ObjFW/OFArray.h * * @brief An abstract class for storing objects in an array. */ @interface OFArray OF_GENERIC(ObjectType): OFObject <OFCopying, OFMutableCopying, OFCollection, OFSerialization, OFJSONRepresentation, OFMessagePackRepresentation> #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif /*! * @brief Creates a new OFArray. * * @return A new autoreleased OFArray */ + (instancetype)array; |
︙ | ︙ | |||
478 479 480 481 482 483 484 | * * @param block A block which folds two objects into one, which is called for * all objects except the first * @return The array folded to a single object */ - (nullable id)foldUsingBlock: (of_array_fold_block_t)block; #endif | < > | 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 | * * @param block A block which folds two objects into one, which is called for * all objects except the first * @return The array folded to a single object */ - (nullable id)foldUsingBlock: (of_array_fold_block_t)block; #endif #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef ObjectType #endif @end @interface OFArrayEnumerator: OFEnumerator { OFArray *_array; size_t _count; unsigned long _mutations; unsigned long *_mutationsPtr; |
︙ | ︙ |