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
)

Description

No description available.

This method is not directly available to language bindings.

Parameters

key_hash_func

Type: GHashFunc

No description available.

key_equal_func

Type: GEqualFunc

No description available.

key_copy_func

Type: GBoxedCopyFunc

No description available.

key_destroy_func

Type: GBoxedFreeFunc

No description available.

value_copy_func

Type: GBoxedCopyFunc

No description available.

value_free_func

Type: GBoxedFreeFunc

No description available.

time_to_live_msec

Type: gint64

No description available.

populate_callback

Type: IdeTaskCacheCallback

No description available.

populate_callback_data

Type: gpointer

No description available.

The argument can be NULL.
The data is owned by the caller of the function.
populate_callback_data_destroy

Type: GDestroyNotify

No 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.