@@ -26,17 +26,17 @@ * * @brief A struct describing the functions to be used by the map table. */ typedef struct { /// The function to retain keys / values - void *OF_NONNULL (*OF_NULLABLE retain)(void *value); + void *_Nonnull (*_Nullable retain)(void *value); /// The function to release keys / values - void (*OF_NULLABLE release)(void *value); + void (*_Nullable release)(void *value); /// The function to hash keys - uint32_t (*OF_NULLABLE hash)(void *value); + uint32_t (*_Nullable hash)(void *value); /// The function to compare keys / values - bool (*OF_NULLABLE equal)(void *value1, void *value2); + bool (*_Nullable equal)(void *value1, void *value2); } of_map_table_functions_t; #ifdef OF_HAVE_BLOCKS /*! * @brief A block for enumerating an OFMapTable. @@ -54,12 +54,11 @@ * * @param key The key of the value to replace * @param value The value to replace * @return The value to replace the value with */ -typedef void *OF_NONNULL (^of_map_table_replace_block_t)( - void *key, void *value); +typedef void *_Nonnull (^of_map_table_replace_block_t)(void *key, void *value); #endif @class OFMapTableEnumerator; /*!