asv_get_int32
Description:
[ Version ( since = "0.7.9" ) ]
public int32 asv_get_int32 (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present, has an integer type used by dbus-glib (guchar, gint, guint, gint64 or guint64)
and fits in the range of a gint32, return it, and if valid
is not null
, set *valid
to true
.
Otherwise, return 0, and if valid
is not null
, set *valid
to false
.
Parameters:
asv |
A GHashTable where the keys are strings and the values are GValues |
key |
The key to look up |
valid |
Either |
Returns:
the 32-bit signed integer value of |
Namespace: TelepathyGLib
Package: telepathy-glib