asv_get_strv
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.7.9" ) ]
public unowned string[]? asv_get_strv (HashTable<string,Value?> asv, string key)
[ Version ( since = "0.7.9" ) ]
public unowned string[]? asv_get_strv (HashTable<string,Value?> asv, string key)
If a value for key in asv is present and is an array of strings (strv), 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 with strdupv 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 |
Returns:
|
the |
Namespace: TelepathyGLib
Package: telepathy-glib