@@ -74,10 +74,20 @@ uint32_t _count, _capacity; uint8_t _rotate; unsigned long _mutations; } +/*! + * The key functions used by the map table. + */ +@property (readonly) of_map_table_functions_t keyFunctions; + +/*! + * The value functions used by the map table. + */ +@property (readonly) of_map_table_functions_t valueFunctions; + /*! * @brief Creates a new OFMapTable with the specified key and value functions. * * @param keyFunctions A structure of functions for handling keys * @param valueFunctions A structure of functions for handling values @@ -212,24 +222,10 @@ * * @param block The block which returns a new value for each value */ - (void)replaceValuesUsingBlock: (of_map_table_replace_block_t)block; #endif - -/*! - * @brief Returns the key functions used by the map table. - * - * @return The key functions used by the map table - */ -- (of_map_table_functions_t)keyFunctions; - -/*! - * @brief Returns the value functions used by the map table. - * - * @return The value functions used by the map table - */ -- (of_map_table_functions_t)valueFunctions; @end /*! * @class OFMapTableEnumerator OFMapTable.h ObjFW/OFMapTable.h *