obj_usage function <BLOC/object.h>
The obj_usage function counts the number of references an object has.
Syntax
unsigned int obj_usage( void *addr );
Parameters
addr
The address of the object. This must be a pointer to an object created by the library or the call will cause the program to terminate.
Return value
The number of references the object currently has.