be null if and only if mem_size is 0
sliceAlloc
fn
void * sliceAlloc(size_t blockSize)Allocates a block of memory from the libc allocator.
The block address handed out can be expected to be aligned to at least 1 * sizeof (void*).
Since GLib 2.76 this always uses the system malloc() implementation internally.
Parameters
blockSize | the number of bytes to allocate |
Returns
a pointer to the allocated memory block, which will