diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-09-02 13:02:41 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-09-02 13:02:41 +0100 |
commit | f36892954302b52a027073a96a6d61b0feea6f8d (patch) | |
tree | c8555429940741554179005898b8eb9aaf194f84 /gir/glib-2.0.c | |
parent | f02d7740b7ee40f83708c1d79d40e43deb55952b (diff) | |
download | gobject-introspection-f36892954302b52a027073a96a6d61b0feea6f8d.tar.gz |
Update GLib annotations
GLib commit: 2.73.3-44-g66c4e35e2
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r-- | gir/glib-2.0.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index 9f928323..2b5028f6 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -9233,6 +9233,9 @@ * alignment value. Additionally, it will detect possible overflow during * multiplication. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Aligned memory allocations returned by this function can only be * freed using g_aligned_free(). * @@ -23295,6 +23298,9 @@ * Allocates @n_bytes bytes of memory. * If @n_bytes is 0 it returns %NULL. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Returns: a pointer to the allocated memory */ @@ -23306,6 +23312,9 @@ * Allocates @n_bytes bytes of memory, initialized to 0's. * If @n_bytes is 0 it returns %NULL. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Returns: a pointer to the allocated memory */ @@ -23318,6 +23327,9 @@ * This function is similar to g_malloc0(), allocating (@n_blocks * @n_block_bytes) bytes, * but care is taken to detect possible overflow during multiplication. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Since: 2.24 * Returns: a pointer to the allocated memory */ @@ -23331,6 +23343,9 @@ * This function is similar to g_malloc(), allocating (@n_blocks * @n_block_bytes) bytes, * but care is taken to detect possible overflow during multiplication. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Since: 2.24 * Returns: a pointer to the allocated memory */ @@ -27697,6 +27712,9 @@ * have zero-length. @n_bytes may be 0, in which case %NULL will be returned * and @mem will be freed unless it is %NULL. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Returns: the new address of the allocated memory */ @@ -27710,6 +27728,9 @@ * This function is similar to g_realloc(), allocating (@n_blocks * @n_block_bytes) bytes, * but care is taken to detect possible overflow during multiplication. * + * If the allocation fails (because the system is out of memory), + * the program is terminated. + * * Since: 2.24 * Returns: the new address of the allocated memory */ |