3.2 <GDBusArgInfo>

Structure: <GDBusArgInfo>

Information about an argument for a method or a signal.

Fields

ref-count

The reference count or -1 if statically allocated.

name

Name of the argument, e.g. unix-user-id.

signature

D-Bus signature of the argument (a single complete type).

annotations

A pointer to a #f-terminated array of pointers to <GDBusAnnotationInfo> structures or #f if there are no annotations.

Procedures

Method: dbus-arg-info:ref self ⇒ %return
Method: ref self ⇒ %return

If self is statically allocated does nothing. Otherwise increases the reference count.

self

Passed: a <GDBusArgInfo>.

A <GDBusArgInfo>

%return

Returned: a <GDBusArgInfo>.

The same self.

Method: dbus-arg-info:unref self
Method: unref 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.

self

Passed: a <GDBusArgInfo>.

A <GDBusArgInfo>.