atomicRcBoxReleaseFull

fnvoid atomicRcBoxReleaseFull(void * memBlock, glib.types.DestroyNotify clearFunc)

Atomically releases a reference on the data pointed by mem_block.

If the reference was the last one, it will call clear_func to clear the contents of mem_block, and then will free the resources allocated for mem_block.

Parameters

memBlocka pointer to reference counted data
clearFunca function to call when clearing the data