|
Blender V5.0
|
Go to the source code of this file.
Typedefs | |
| using | MEM_TObjectPtr = struct MEM_TOpaqueObject * |
| using | MEM_TRefCountedObjectPtr = MEM_TObjectPtr |
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.
| using MEM_TObjectPtr = struct MEM_TOpaqueObject * |
A pointer to a private object.
Definition at line 15 of file MEM_RefCountedC-Api.h.
A pointer to a shared object.
Definition at line 17 of file MEM_RefCountedC-Api.h.
|
extern |
Decreases the reference count of this object. If the reference count reaches zero, the object self-destructs.
| shared | The object to query. |
Definition at line 22 of file MEM_RefCountedC-Api.cpp.
References shared.
|
extern |
Returns the reference count of this object.
| shared | The object to query. |
Definition at line 12 of file MEM_RefCountedC-Api.cpp.
References shared.
|
extern |
Increases the reference count of this object.
| shared | The object to query. |
Definition at line 17 of file MEM_RefCountedC-Api.cpp.
References shared.