Blender V2.61 - r43446
|
Go to the source code of this file.
Typedefs | |
typedef struct MEM_TOpaqueObject * | MEM_TObjectPtr |
typedef MEM_TObjectPtr | MEM_TRefCountedObjectPtr |
Functions | |
int | MEM_RefCountedGetRef (MEM_TRefCountedObjectPtr shared) |
int | MEM_RefCountedIncRef (MEM_TRefCountedObjectPtr shared) |
int | MEM_RefCountedDecRef (MEM_TRefCountedObjectPtr shared) |
Interface for C access to functionality relating to shared objects in the foundation library.
Definition in file MEM_RefCountedC-Api.h.
typedef struct MEM_TOpaqueObject* MEM_TObjectPtr |
A pointer to a private object.
Definition at line 41 of file MEM_RefCountedC-Api.h.
A pointer to a shared object.
Definition at line 43 of file MEM_RefCountedC-Api.h.
int MEM_RefCountedDecRef | ( | MEM_TRefCountedObjectPtr | shared | ) |
Decreases the reference count of this object. If the the reference count reaches zero, the object self-destructs.
shared | The object to query. |
Definition at line 50 of file MEM_RefCountedC-Api.cpp.
int MEM_RefCountedGetRef | ( | MEM_TRefCountedObjectPtr | shared | ) |
Returns the reference count of this object.
shared | The object to query. |
Definition at line 38 of file MEM_RefCountedC-Api.cpp.
int MEM_RefCountedIncRef | ( | MEM_TRefCountedObjectPtr | shared | ) |
Increases the reference count of this object.
shared | The object to query. |
Definition at line 44 of file MEM_RefCountedC-Api.cpp.