sliceAlloc0

fun sliceAlloc0(blockSize: <Error class: unknown class>): <Error class: unknown class>?

Allocates a block of memory via g_slice_alloc() and initializes the returned memory to 0.

Since GLib 2.76 this always uses the system malloc() implementation internally.

Return

a pointer to the allocated block, which will be null if and only if @mem_size is 0

Since

2.10

Parameters

blockSize

the number of bytes to allocate