Allocates a block of memory from the slice allocator
block_size bytes into it from
mem_block must be non-
block_size is non-zero.
Since GLib 2.76 this always uses the system
malloc() implementation internally.
Available since: 2.14
The number of bytes to allocate.
The memory to copy.
The argument can be
The data is owned by the caller of the function.