obj_cleanup function <BLOC/object.h>
The obj_cleanup function cleans up a reference to an object. It is called automatically on any local variables declared with the REF type attribute when they go out of scope. This function never needs to be called manually.
Syntax
void obj_cleanup( void *ref );
Parameters
ref
The address of a variable that holds an object reference. This will normally be a variable with the REF type attribute. If the value of the variable is NULL, the function will return immediately, otherwise it will call obj_put on it.