TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.24
This function is similar to g_realloc(), allocating (n_blocks * n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.
g_realloc()
n_blocks
n_block_bytes
If the allocation fails (because the system is out of memory), the program is terminated.
the memory to reallocate
the number of blocks to allocate
the size of each block in bytes
the new address of the allocated memory
2.24
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.