@@ -18,13 +18,15 @@ #import "OFEnumerator.h" /*! @file */ /*! + * @struct of_map_table_functions_t OFMapTable.h ObjFW/OFMapTable.h + * * @brief A struct describing the functions to be used by the map table. */ -typedef struct of_map_table_functions_t { +typedef struct { /// The function to retain keys / values void* (*retain)(void *value); /// The function to release keys / values void (*release)(void *value); /// The function to hash keys @@ -56,10 +58,12 @@ #endif @class OFMapTableEnumerator; /*! + * @class OFMapTable OFMapTable.h ObjFW/OFMapTable.h + * * @brief A class similar to OFDictionary, but providing more options how keys * and values should be retained, released, compared and hashed. */ @interface OFMapTable: OFObject { @@ -223,10 +227,12 @@ */ - (of_map_table_functions_t)valueFunctions; @end /*! + * @class OFMapTableEnumerator OFMapTable.h ObjFW/OFMapTable.h + * * @brief A class which provides methods to enumerate through an OFMapTable's * keys or values. */ @interface OFMapTableEnumerator: OFObject {