@get


Description:

public void* @get (void* key)

Lookup an object by key.

If the key is currently reserved, the function will block until another thread commits or aborts the reservation. The caller owns the reference to the returned object. Use g_object_unref () to unreference it.

Parameters:

this

a ObjectBag

key

a key

Returns:

the object corresponding to key, or null if not found