mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 20:52:12 +01:00
Fix typo in g_try_new0 docs (#505195, Felix Riemann).
* docs/reference/glib/tmpl/memory.sgml: Reference n_structs, instead of non-existant n_counts argument. svn path=/trunk/; revision=6196
This commit is contained in:
parent
33857bef6f
commit
ca963dec51
@ -1,3 +1,10 @@
|
|||||||
|
2007-12-24 Mathias Hasselmann <mathias@openismus.com>
|
||||||
|
|
||||||
|
Fix typo in g_try_new0 docs (#505195, Felix Riemann).
|
||||||
|
|
||||||
|
* docs/reference/glib/tmpl/memory.sgml: Reference
|
||||||
|
n_structs, instead of non-existant n_counts argument.
|
||||||
|
|
||||||
2007-12-22 Matthias Clasen <mclasen@redhat.com>
|
2007-12-22 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gobject/tmpl/gtypemodule.sgml: Fix a typo
|
* gobject/tmpl/gtypemodule.sgml: Fix a typo
|
||||||
|
@ -101,7 +101,7 @@ Attempts to allocate @n_structs elements of type @struct_type, initialized
|
|||||||
to 0's, and returns %NULL on failure. Contrast with g_new0(), which aborts
|
to 0's, and returns %NULL on failure. Contrast with g_new0(), which aborts
|
||||||
the program on failure.
|
the program on failure.
|
||||||
The returned pointer is cast to a pointer to the given type.
|
The returned pointer is cast to a pointer to the given type.
|
||||||
If @n_counts is 0 it returns %NULL.
|
The function returns %NULL when @n_structs is 0.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@struct_type: the type of the elements to allocate
|
@struct_type: the type of the elements to allocate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user