mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 06:56:16 +01:00
Add docs.
* gobject/tmpl/gtype.sgml: * gobject/tmpl/enumerations_flags.sgml: Add docs.
This commit is contained in:
parent
bec0034918
commit
20f6d1b814
@ -1,5 +1,7 @@
|
|||||||
2002-12-09 Matthias Clasen <maclas@gmx.de>
|
2002-12-09 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gobject/tmpl/gtype.sgml:
|
||||||
|
* gobject/tmpl/enumerations_flags.sgml: Add docs.
|
||||||
|
|
||||||
* gobject/tmpl/gtype.sgml:
|
* gobject/tmpl/gtype.sgml:
|
||||||
* gobject/tmpl/gtypeplugin.sgml:
|
* gobject/tmpl/gtypeplugin.sgml:
|
||||||
|
@ -18,21 +18,12 @@ Enumeration and flags types
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@g_type_class:
|
|
||||||
@minimum:
|
|
||||||
@maximum:
|
|
||||||
@n_values:
|
|
||||||
@values:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GFlagsClass ##### -->
|
<!-- ##### STRUCT GFlagsClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@g_type_class:
|
|
||||||
@mask:
|
|
||||||
@n_values:
|
|
||||||
@values:
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_ENUM_CLASS_TYPE ##### -->
|
<!-- ##### MACRO G_ENUM_CLASS_TYPE ##### -->
|
||||||
<para>
|
<para>
|
||||||
@ -60,18 +51,19 @@ Returns whether @type "is a" %G_TYPE_ENUM.
|
|||||||
|
|
||||||
<!-- ##### MACRO G_ENUM_CLASS ##### -->
|
<!-- ##### MACRO G_ENUM_CLASS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Casts a derived #GEnumClass structure into a #GEnumClass structure.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@class:
|
@class: a valid #GEnumClass
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_IS_ENUM_CLASS ##### -->
|
<!-- ##### MACRO G_IS_ENUM_CLASS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Checks whether @class "is a" valid #GEnumClass structure of type %G_TYPE_ENUM
|
||||||
|
or derived.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@class:
|
@class: a #GEnumClass
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_TYPE_IS_FLAGS ##### -->
|
<!-- ##### MACRO G_TYPE_IS_FLAGS ##### -->
|
||||||
@ -84,18 +76,19 @@ Returns whether @type "is a" %G_TYPE_FLAGS.
|
|||||||
|
|
||||||
<!-- ##### MACRO G_FLAGS_CLASS ##### -->
|
<!-- ##### MACRO G_FLAGS_CLASS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Casts a derived #GFlagsClass structure into a #GFlagsClass structure.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@class:
|
@class: a valid #GFlagsClass
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_IS_FLAGS_CLASS ##### -->
|
<!-- ##### MACRO G_IS_FLAGS_CLASS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Checks whether @class "is a" valid #GFlagsClass structure of type %G_TYPE_FLAGS
|
||||||
|
or derived.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@class:
|
@class: a #GFlagsClass
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO G_FLAGS_CLASS_TYPE ##### -->
|
<!-- ##### MACRO G_FLAGS_CLASS_TYPE ##### -->
|
||||||
|
@ -1140,16 +1140,22 @@ implementing a fundamental type. Also language bindings should <emphasis>not</em
|
|||||||
use this function but g_object_new() instead.
|
use this function but g_object_new() instead.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@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
|
@Returns: An allocated and initialized instance, subject to further
|
||||||
treatment by the fundamental type implementation.
|
treatment by the fundamental type implementation.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_free_instance ##### -->
|
<!-- ##### FUNCTION g_type_free_instance ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Frees an instance of a type, returning it to the instance pool for the type,
|
||||||
|
if there is one.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Like g_type_create_instance(), this function is reserved for implementors of
|
||||||
|
fundamental types.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@instance:
|
@instance: an instance of a type.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_add_class_cache_func ##### -->
|
<!-- ##### FUNCTION g_type_add_class_cache_func ##### -->
|
||||||
|
Loading…
Reference in New Issue
Block a user