Information about an annotation.
ref-countThe reference count or -1 if statically allocated.
keyThe name of the annotation, e.g. "org.freedesktop.DBus.Deprecated".
valueThe value of the annotation.
annotationsA pointer to a #f-terminated array of pointers to
<GDBusAnnotationInfo> structures or
#f if there are no annotations.
Looks up the value of an annotation.
The cost of this function is O(n) in number of annotations.
Passed: a list or vector, each a
<GDBusAnnotationInfo>, or #f.
A #f-terminated array of annotations or #f.
Passed: a string.
The name of the annotation to look up.
Returned: a string, or #f.
The value or #f if not found. Do not free, it is owned by
annotations.
If self is statically allocated does nothing. Otherwise increases the reference count.
Passed: a <GDBusAnnotationInfo>.
Returned: a <GDBusAnnotationInfo>.
The same self.
If self is statically allocated, does nothing. Otherwise decreases the reference count of self. When its reference count drops to 0, the memory used is freed.
Passed: a <GDBusAnnotationInfo>.