DBusAnnotationInfo

Various data structures and convenience routines to parse and generate D-Bus introspection XML. Introspection information is used when registering objects with g_dbus_connection_register_object().

The format of D-Bus introspection XML is specified in the D-Bus specification.

Constructors

this
this(GDBusAnnotationInfo* gDBusAnnotationInfo)

Sets our main struct and passes it to the parent class

Members

Functions

doref
DBusAnnotationInfo doref()

If info is statically allocated does nothing. Otherwise increases the reference count. Since 2.26

getDBusAnnotationInfoStruct
GDBusAnnotationInfo* getDBusAnnotationInfoStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

unref
void unref()

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. Since 2.26

Static functions

lookup
string lookup(DBusAnnotationInfo[] annotations, string name)

Looks up the value of an annotation. This cost of this function is O(n) in number of annotations. Since 2.26

Variables

gDBusAnnotationInfo
GDBusAnnotationInfo* gDBusAnnotationInfo;

the main Gtk struct

Inherited Members

From Boxed

boxedCopy
void* boxedCopy(GType boxedType, void* srcBoxed)

Provide a copy of a boxed structure src_boxed which is of type boxed_type.

boxedFree
void boxedFree(GType boxedType, void* boxed)

Free the boxed structure boxed which is of type boxed_type.

boxedTypeRegisterStatic
GType boxedTypeRegisterStatic(string name, GBoxedCopyFunc boxedCopy, GBoxedFreeFunc boxedFree)

This function creates a new G_TYPE_BOXED derived type id for a new boxed type with name name. Boxed type handling functions have to be provided to copy and free opaque boxed structures of this type.

pointerTypeRegisterStatic
GType pointerTypeRegisterStatic(string name)

Creates a new G_TYPE_POINTER derived type id for a new pointer type with name name.

Meta