rcBoxReleaseFull

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.

void
rcBoxReleaseFull

Parameters

memBlock void*

a pointer to reference counted data

clearFunc glib.types.DestroyNotify

a function to call when clearing the data