asv_get_uint64


Description:


[ Version ( since = "0.7.9" ) ]
public uint64 asv_get_uint64 (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 is non-negative, 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 unsigned integer value of key, or 0


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org