TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.88.0
Generated with TypeDoc via ts-for-gir v4.0.0-rc.9
Since 2.58
Allocates a new block of data with atomic reference counting semantics, and copies block_size bytes of mem_block into it.
block_size
mem_block
the number of bytes to copy, must be greater than 0
the memory to copy
a pointer to the allocated memory
2.58
Allocates a new block of data with atomic reference counting semantics, and copies
block_sizebytes ofmem_blockinto it.