Function

Gio-2.0Giodbus_annotation_info_lookupSince 2.26

  • Looks up the value of an annotation.

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

    Parameters

    • annotations: DBusAnnotationInfo[]

      A null-terminated array of annotations or null.

    • name: string

      The name of the annotation to look up.

    Returns string

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

    2.26