C4 Engine
C4 Engine API Documentation

Shared::Retain

Defined in:  TSTools.h
Increments an object's reference count.
Prototype

int32 Retain(void);

Description
The Retain function increments the reference count. For each call to Retain made for a particular shared object, a balancing call to Shared::Release decrements the reference count without destroying the object. The return value of the Retain function is the new reference count.
See Also

Shared::GetReferenceCount

Shared::Release