summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c21
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
*/