From: Matthias Clasen Date: Wed, 7 Dec 2005 15:57:28 +0000 (+0000) Subject: Document n_preallocs as ignored. X-Git-Tag: GLIB_2_9_1~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfbaeca45b1e8a435d052681c920b9964e0f2025;p=platform%2Fupstream%2Fglib.git Document n_preallocs as ignored. 2005-12-07 Matthias Clasen * gobject/tmpl/gparamspec.sgml: * gobject/tmpl/gtype.sgml: Document n_preallocs as ignored. --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 0534e7b..d94e07b 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Matthias Clasen + + * gobject/tmpl/gparamspec.sgml: + * gobject/tmpl/gtype.sgml: Document n_preallocs as + ignored. + 2005-12-05 Matthias Clasen * glib/glib-sections.txt: Updates diff --git a/docs/reference/gobject/tmpl/gparamspec.sgml b/docs/reference/gobject/tmpl/gparamspec.sgml index c1b793b..5370c83 100644 --- a/docs/reference/gobject/tmpl/gparamspec.sgml +++ b/docs/reference/gobject/tmpl/gparamspec.sgml @@ -416,7 +416,7 @@ g_param_type_register_static(). @instance_size: Size of the instance (object) structure. -@n_preallocs: Number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). +@n_preallocs: Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the slice allocator now. @instance_init: Location of the instance initialization function (optional). @value_type: The #GType of values conforming to this #GParamSpec @finalize: The instance finalization function (optional). diff --git a/docs/reference/gobject/tmpl/gtype.sgml b/docs/reference/gobject/tmpl/gtype.sgml index 1688e62..bdcdde2 100644 --- a/docs/reference/gobject/tmpl/gtype.sgml +++ b/docs/reference/gobject/tmpl/gtype.sgml @@ -221,7 +221,7 @@ across invocation of g_type_register_static(). function for interface types. (optional) @class_data: User-supplied data passed to the class init/finalize functions. @instance_size: Size of the instance (object) structure (required for instantiatable types only). -@n_preallocs: Number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). +@n_preallocs: Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the slice allocator now. @instance_init: Location of the instance initialization function (optional, for instantiatable types only). @value_table: A #GTypeValueTable function table for generic handling of GValues of this type (usually only useful for fundamental types).