src/stdlib/object.c
/*=================================================
 * addref_object -- addref object
 * Must be valid object with addref method
 *===============================================*/
- addref object
Must be valid object with addref method
- addref object Must be valid object with addref method
int
addref_object (OBJECT obj)
{
	VTABLE vtable;
	ASSERT(obj);
	vtable = (*obj);
	ASSERT(vtable->vtable_magic == VTABLE_MAGIC);
	ASSERT(vtable->isref_fnc);
	ASSERT(vtable->addref_fnc);
	return (*vtable->addref_fnc)(obj);
}
int addref_object ( OBJECT obj ) { VTABLE vtable ; ASSERT ( obj ) ; vtable = ( * obj ) ; ASSERT ( vtable -> vtable_magic == VTABLE_MAGIC ) ; ASSERT ( vtable -> isref_fnc ) ; ASSERT ( vtable -> addref_fnc ) ; return ( * vtable -> addref_fnc ) ( obj ) ; }
addref_object -- addref object
 Must be valid object with addref method
addref_object -- addref object Must be valid object with addref method