copy


Description:

public void* copy (size_t block_size, void* mem_block)

Allocates a block of memory from the slice allocator and copies block_size bytes into it from mem_block.

Parameters:

block_size

the number of bytes to allocate

mem_block

the memory to copy

Returns:

a pointer to the allocated memory block


Namespace: GLib.Slice
Package: glib-2.0