ObjFW  Diff

Differences From Artifact [297b2e1ca0]:

To Artifact [7b779a5fa3]:


35
36
37
38
39
40
41



42
43
44
45
46
47
48
	id <OFCopying> key;
	id object;
	uint32_t hash;
};

/**
 * \brief A class for storing objects in a hash table.



 */
@interface OFDictionary: OFObject <OFCopying, OFMutableCopying, OFCollection,
    OFFastEnumeration, OFSerialization>
{
	struct of_dictionary_bucket **data;
	uint32_t size;
	size_t count;







>
>
>







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	id <OFCopying> key;
	id object;
	uint32_t hash;
};

/**
 * \brief A class for storing objects in a hash table.
 *
 * Note: Fast enumeration on a dictionary enumerates through the keys of the
 * dictionary.
 */
@interface OFDictionary: OFObject <OFCopying, OFMutableCopying, OFCollection,
    OFFastEnumeration, OFSerialization>
{
	struct of_dictionary_bucket **data;
	uint32_t size;
	size_t count;