Allocates block_size bytes of memory, and adds reference counting semantics to it.
The data will be freed when its reference count drops to zero.
The allocated data is guaranteed to be suitably aligned for any built-in type.
the size of the allocation, must be greater than 0
a pointer to the allocated memory
Allocates block_size bytes of memory, and adds reference counting semantics to it.
The data will be freed when its reference count drops to zero.
The allocated data is guaranteed to be suitably aligned for any built-in type.