Boxed.typeRegisterStatic

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.

struct Boxed
static
typeRegisterStatic

Parameters

name string

Name of the new boxed type.

boxedCopy GBoxedCopyFunc

Boxed structure copy function.

boxedFree GBoxedFreeFunc

Boxed structure free function.

Return Value

Type: GType

New %G_TYPE_BOXED derived type id for @name.

Meta