ObjFW  Diff

Differences From Artifact [260a69baad]:

To Artifact [98d8e166cb]:


132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
132
133
134
135
136
137
138




139
140
141
142
143
144
145







-
-
-
-







 * @brief Returns the value for the given key or nil if the key was not found.
 *
 * @param key The key whose object should be returned
 * @return The value for the given key or nil if the key was not found
 */
- (void*)valueForKey: (void*)key;

- (void)OF_setValue: (void*)value
	     forKey: (void*)key
	       hash: (uint32_t)hash;

/*!
 * @brief Sets a value for a key.
 *
 * @param key The key to set
 * @param value The value to set the key to
 */
- (void)setValue: (void*)value
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
234
235
236
237
238
239
240





241
242
243
244
245
246
247







-
-
-
-
-







	struct of_map_table_bucket **_buckets;
	uint32_t _capacity;
	unsigned long _mutations;
	unsigned long *_mutationsPtr;
	uint32_t _position;
}

- OF_initWithMapTable: (OFMapTable*)mapTable
	      buckets: (struct of_map_table_bucket**)buckets
	     capacity: (uint32_t)capacity
     mutationsPointer: (unsigned long*)mutationsPtr;

/*!
 * @brief Returns the next value.
 *
 * @return The next value
 */
- (void*)nextValue;