Allocates a block of memory from the slice allocator. The block address handed out can be expected to be aligned to at least 1 * sizeof (void*), though in general slices are 2 * sizeof (void*) bytes aligned, if a malloc() fallback implementation is used instead, the alignment may be reduced in a libc dependent fashion. Note that the underlying slice allocation mechanism can be changed with the [G_SLICE=always-malloc]G_SLICE environment variable.
Allocates a block of memory via g_slice_alloc() and initializes the returned memory to 0. Note that the underlying slice allocation mechanism can be changed with the [G_SLICE=always-malloc]G_SLICE environment variable.
Allocates a block of memory from the slice allocator and copies block_size bytes into it from mem_block.
Frees a block of memory.
Frees a linked list of memory blocks of structure type type.
Undocumented in source.