obj_drop macro <BLOC/object.h>
The obj_drop macro drops a reference to a specified object, and assigns NULL to the holding variable. It should be used whenever an object is unassigned from a variable, with no replacement being given.
Syntax
#define obj_drop(v) ({ obj_put(v); v = NULL; })
Parameters
v
The variable holding a reference to an object. This will be set to NULL, so it should be the original variable and not a duplicate, in order for this macro to be useful.