Boxed

Members

Static functions

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

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

free
void free(GType boxedType, void* boxed)

Free the boxed structure @boxed which is of type @boxed_type.

pointerTypeRegisterStatic
GType pointerTypeRegisterStatic(string name)

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

typeRegisterStatic
GType typeRegisterStatic(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.

Meta