Document n_preallocs as ignored.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 7 Dec 2005 15:57:28 +0000 (15:57 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 7 Dec 2005 15:57:28 +0000 (15:57 +0000)
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/gparamspec.sgml:
* gobject/tmpl/gtype.sgml: Document n_preallocs as
ignored.

docs/reference/ChangeLog
docs/reference/gobject/tmpl/gparamspec.sgml
docs/reference/gobject/tmpl/gtype.sgml

index 0534e7b..d94e07b 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gobject/tmpl/gparamspec.sgml: 
+       * gobject/tmpl/gtype.sgml: Document n_preallocs as
+       ignored.
+
 2005-12-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/glib-sections.txt: Updates
index c1b793b..5370c83 100644 (file)
@@ -416,7 +416,7 @@ g_param_type_register_static().
 </para>
 
 @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 <link linkend="glib-Memory-Slices">slice allocator</link> 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).
index 1688e62..bdcdde2 100644 (file)
@@ -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 <link linkend="glib-Memory-Slices">slice allocator</link> 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).