DBusError.registerErrorDomain

Helper function for associating a #GError error domain with D-Bus error names.

While quark_volatile has a volatile qualifier, this is a historical artifact and the argument passed to it should not be volatile.

struct DBusError
static
void
registerErrorDomain

Parameters

errorDomainQuarkName string

The error domain name.

quarkVolatile size_t

A pointer where to store the #GQuark.

entries gio.dbus_error_entry.DBusErrorEntry[]

A pointer to num_entries #GDBusErrorEntry struct items.