diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 9eee46b18..f324c046c 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2002-12-09 Matthias Clasen + * gobject/tmpl/gtype.sgml: + * gobject/tmpl/enumerations_flags.sgml: Add docs. * gobject/tmpl/gtype.sgml: * gobject/tmpl/gtypeplugin.sgml: diff --git a/docs/reference/gobject/tmpl/enumerations_flags.sgml b/docs/reference/gobject/tmpl/enumerations_flags.sgml index cfc19dd72..df93c1203 100644 --- a/docs/reference/gobject/tmpl/enumerations_flags.sgml +++ b/docs/reference/gobject/tmpl/enumerations_flags.sgml @@ -18,21 +18,12 @@ Enumeration and flags types -@g_type_class: -@minimum: -@maximum: -@n_values: -@values: -@g_type_class: -@mask: -@n_values: -@values: @@ -60,18 +51,19 @@ Returns whether @type "is a" %G_TYPE_ENUM. - +Casts a derived #GEnumClass structure into a #GEnumClass structure. -@class: +@class: a valid #GEnumClass - +Checks whether @class "is a" valid #GEnumClass structure of type %G_TYPE_ENUM +or derived. -@class: +@class: a #GEnumClass @@ -84,18 +76,19 @@ Returns whether @type "is a" %G_TYPE_FLAGS. - +Casts a derived #GFlagsClass structure into a #GFlagsClass structure. -@class: +@class: a valid #GFlagsClass - +Checks whether @class "is a" valid #GFlagsClass structure of type %G_TYPE_FLAGS +or derived. -@class: +@class: a #GFlagsClass diff --git a/docs/reference/gobject/tmpl/gtype.sgml b/docs/reference/gobject/tmpl/gtype.sgml index f54f3df06..42303a63f 100644 --- a/docs/reference/gobject/tmpl/gtype.sgml +++ b/docs/reference/gobject/tmpl/gtype.sgml @@ -1140,16 +1140,22 @@ implementing a fundamental type. Also language bindings should not -@type: An instantiabtable type to create an instance for. +@type: An instantiatable type to create an instance for. @Returns: An allocated and initialized instance, subject to further treatment by the fundamental type implementation. +Frees an instance of a type, returning it to the instance pool for the type, +if there is one. + + +Like g_type_create_instance(), this function is reserved for implementors of +fundamental types. -@instance: +@instance: an instance of a type.