V-Gears 0
Free Final Fantasy VII engine.
RefCounted.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RefCounted
 Provides a base implementation of reference counting. More...
 

Functions

void intrusive_ptr_add_ref (RefCounted *ptr)
 Add a reference to a pointer. More...
 
void intrusive_ptr_release (RefCounted *ptr)
 Remove a reference from a pointer. More...
 

Function Documentation

◆ intrusive_ptr_add_ref()

void intrusive_ptr_add_ref ( RefCounted ptr)
inline

Add a reference to a pointer.

Parameters
[in]ptrPointer to reference.

◆ intrusive_ptr_release()

void intrusive_ptr_release ( RefCounted ptr)
inline

Remove a reference from a pointer.

Parameters
[in]ptrPointer to de-reference.