Differences From Artifact [1bd4f42cb6]:
- File
src/OFMapTable.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: 7573) [annotate] [blame] [check-ins using]
To Artifact [6e6fb2bdca]:
- File src/OFMapTable.h — part of check-in [16c05e87e1] at 2017-05-07 23:14:22 on branch trunk — Add OF_UNAVAILABLE (user: js, size: 7621) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
108 109 110 111 112 113 114 115 116 117 118 119 120 121 | * @return A new autoreleased OFMapTable */ + (instancetype)mapTableWithKeyFunctions: (of_map_table_functions_t)keyFunctions objectFunctions: (of_map_table_functions_t) objectFunctions capacity: (size_t)capacity; /*! * @brief Initializes an already allocated OFMapTable with the specified key * and object functions. * * @param keyFunctions A structure of functions for handling keys * @param objectFunctions A structure of functions for handling objects * @return An initialized OFMapTable | > > | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | * @return A new autoreleased OFMapTable */ + (instancetype)mapTableWithKeyFunctions: (of_map_table_functions_t)keyFunctions objectFunctions: (of_map_table_functions_t) objectFunctions capacity: (size_t)capacity; - init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated OFMapTable with the specified key * and object functions. * * @param keyFunctions A structure of functions for handling keys * @param objectFunctions A structure of functions for handling objects * @return An initialized OFMapTable |
︙ | ︙ | |||
237 238 239 240 241 242 243 244 245 246 247 248 249 250 | OFMapTable *_mapTable; struct of_map_table_bucket **_buckets; uint32_t _capacity; unsigned long _mutations; unsigned long *_mutationsPtr; uint32_t _position; } /*! * @brief Returns the next object. * * @return The next object */ - (void *)nextObject; | > > | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | OFMapTable *_mapTable; struct of_map_table_bucket **_buckets; uint32_t _capacity; unsigned long _mutations; unsigned long *_mutationsPtr; uint32_t _position; } - init OF_UNAVAILABLE; /*! * @brief Returns the next object. * * @return The next object */ - (void *)nextObject; |
︙ | ︙ |