asv_get_boxed


Description:


[ Version ( since = "0.7.9" ) ]
public void* asv_get_boxed (HashTable<string,Value?> asv, string key, Type type)

If a value for key in asv is present and is of the desired type, return it.

Otherwise return null.

The returned value is not copied, and is only valid as long as the value for key in asv is not removed or altered. Copy it, for instance with g_boxed_copy, if you need to keep it for longer.

Parameters:

asv

A GHashTable where the keys are strings and the values are GValues

key

The key to look up

type

The type that the key's value should have, which must be derived from BOXED

Returns:

the value of key, or null


Namespace: TelepathyGLib
Package: telepathy-glib