DBusAnnotationInfo.lookup

string lookup(gio.dbus_annotation_info.DBusAnnotationInfo[] annotations, string name)

Looks up the value of an annotation.

The cost of this function is O(n) in number of annotations.

Parameters

annotationsA null-terminated array of annotations or null.
nameThe name of the annotation to look up.

Returns

The value or null if not found. Do not free, it is owned by annotations.