annotation_info_lookup


Description:

[ Version ( since = "2.26" ) ]
public unowned string annotation_info_lookup (DBusAnnotationInfo[]? annotations, string name)

Looks up the value of an annotation.

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

Parameters:

annotations

A null-terminated array of annotations or null.

name

The name of the annotation to look up.

Returns:

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


Namespace: GLib.DBus
Package: gio-2.0