Function
GLibslice_copy
since: 2.14
Declaration [src]
gpointer
g_slice_copy (
gsize block_size,
gconstpointer mem_block
)
Description [src]
Allocates a block of memory from the slice allocator
and copies block_size
bytes into it from mem_block
.
mem_block
must be non-NULL
if block_size
is non-zero.
Since GLib 2.76 this always uses the system malloc()
implementation internally.
Available since: 2.14