Constructor
IdeTaskCachenew
Declaration
IdeTaskCache*
ide_task_cache_new (
GHashFunc key_hash_func,
GEqualFunc key_equal_func,
GBoxedCopyFunc key_copy_func,
GBoxedFreeFunc key_destroy_func,
GBoxedCopyFunc value_copy_func,
GBoxedFreeFunc value_free_func,
gint64 time_to_live_msec,
IdeTaskCacheCallback populate_callback,
gpointer populate_callback_data,
GDestroyNotify populate_callback_data_destroy
)
Parameters
key_hash_func-
Type:
GHashFuncNo description available.
key_equal_func-
Type:
GEqualFuncNo description available.
key_copy_func-
Type:
GBoxedCopyFuncNo description available.
key_destroy_func-
Type:
GBoxedFreeFuncNo description available.
value_copy_func-
Type:
GBoxedCopyFuncNo description available.
value_free_func-
Type:
GBoxedFreeFuncNo description available.
time_to_live_msec-
Type:
gint64No description available.
populate_callback-
Type:
IdeTaskCacheCallbackNo description available.
populate_callback_data-
Type:
gpointerNo description available.
The argument can be NULL.The data is owned by the caller of the function. populate_callback_data_destroy-
Type:
GDestroyNotifyNo description available.
Return value
Type: IdeTaskCache
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |