Function
Vipscache_operation_lookup
Declaration [src]
VipsOperation*
vips_cache_operation_lookup (
VipsOperation* operation
)
Description [src]
Look up an unbuilt operation
in the cache. If we get a hit, ref and
return the old operation. If there’s no hit, return NULL.
Parameters
operation |
VipsOperation |
Pointer to operation to lookup. |
|
The data is owned by the caller of the function. |
Return value
Returns: | VipsOperation |
The cache hit, if any. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |