Gjsify LogoGjsify Logo

Information about an annotation.

record

Hierarchy

  • DBusAnnotationInfo

Index

Constructors

Properties

annotations: DBusAnnotationInfo[]

A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.

field
key: string

The name of the annotation, e.g. "org.freedesktop.DBus.Deprecated".

field
ref_count: number

The reference count or -1 if statically allocated.

field
value: string

The value of the annotation.

field
name: string

Methods

  • unref(): void
  • If info is statically allocated, does nothing. Otherwise decreases the reference count of info. When its reference count drops to 0, the memory used is freed.

    Returns void

  • 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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method