* used when the key is a pointer and an char* respectively.
*
* Returns: the hash value corresponding to the key
- *
- * Since: 0.7
*/
typedef uint32_t (*KitHashFunc) (const void *key);
* pointer and an char* respectively.
*
* Returns: #TRUE iff the keys are equal
- *
- * Since: 0.7
*/
typedef kit_bool_t (*KitEqualFunc) (const void *key1, const void *key2);
* is destroyed. It is passed the pointer to the data element and
* should free any memory and resources allocated for it. The function
* p_free() or any of the object unref functions can be passed here.
- *
- * Since: 0.7
*/
typedef void (*KitFreeFunc) (void *p);
* ref functions can be passed here.
*
* Returns: A copy or ref of the object in question
- *
- * Since: 0.7
*/
typedef void *(*KitCopyFunc) (const void *p);
* Type signature for callback function used in kit_hash_foreach().
*
* Returns: Return #TRUE to short-circuit, e.g. stop the iteration.
- *
- * Since: 0.7
*/
typedef kit_bool_t (*KitHashForeachFunc) (KitHash *hash,
void *key,
* @prev: the previous element in the list or #NULL if this is the last element
*
* Public members of the #KitList data structure
- *
- * Since: 0.7
*/
struct _KitList {
void *data;
* Type signature for callback function used in kit_list_foreach().
*
* Returns: Return #TRUE to short-circuit, e.g. stop the iteration.
- *
- * Since: 0.7
*/
typedef kit_bool_t (*KitListForeachFunc) (KitList *list,
void *data,