Method
IdeTaskCachepeek
Description
Peeks to see key
is contained in the cache and returns the
matching GObject
if it does.
The reference count of the resulting GObject
is not incremented.
For that reason, it is important to remember that this function
may only be called from the main thread.
Parameters
key
-
Type:
gconstpointer
The key for the cache.
The argument can be NULL
.The data is owned by the caller of the method.
Return value
Type: GObject
A GObject
or
NULL
if the key was not found in the cache.
The data is owned by the instance. |
The return value can be NULL . |