asv_get_int64


Description:


[ Version ( since = "0.7.9" ) ]
public int64 asv_get_int64 (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 gint64, 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 null, or a location in which to store true on success or false on failure

Returns:

the 64-bit signed integer value of key, or 0


Namespace: TelepathyGLib
Package: telepathy-glib