mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02:00
gmem: Fix a typo in the g_try_new0() documentation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user