DBusAnnotationInfo.lookup

Looks up the value of an annotation.

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

class DBusAnnotationInfo
static
string
lookup

Parameters

annotations DBusAnnotationInfo[]

A NULL-terminated array of annotations or NULL.

name string

The name of the annotation to look up.

Return: The value or NULL if not found. Do not free, it is owned by annotations.

Meta

Since

2.26