Logo Search packages:      
Sourcecode: blender version File versions

int MEM_RefCountedDecRef ( MEM_TRefCountedObjectPtr  shared  ) 

Decreases the reference count of this object. If the the reference count reaches zero, the object self-destructs.

Parameters:
shared The object to query.
Returns:
The new reference count.

Definition at line 53 of file MEM_RefCountedC-Api.cpp.

{
      return shared ? ((MEM_RefCounted*)shared)->decRef() : 0;
}


Generated by  Doxygen 1.6.0   Back to index