This function is similar to glib.global.gmalloc, 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.
This function is similar to glib.global.gmalloc, 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.