mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
gmem: Fix a typo in the g_try_new0() documentation
This commit is contained in:
parent
b77fe970db
commit
7a65d1d3fb
@ -313,7 +313,7 @@ g_steal_pointer (gpointer pp)
|
||||
* to 0's, and returns %NULL on failure. Contrast with g_new0(), which aborts
|
||||
* the program on failure.
|
||||
* The returned pointer is cast to a pointer to the given type.
|
||||
* The function returns %NULL when @n_structs is 0 of if an overflow occurs.
|
||||
* The function returns %NULL when @n_structs is 0 or if an overflow occurs.
|
||||
*
|
||||
* Since: 2.8
|
||||
* Returns: a pointer to the allocated memory, cast to a pointer to @struct_type
|
||||
|
Loading…
Reference in New Issue
Block a user