|
CX Framework
Cross-platform C utility framework
|
#include <objclass.h>
Public Member Functions | |
| atomic (uintptr) _ref | |
| Reference count for the weak reference itself. | |
Data Fields | |
| RWLock | _lock |
| Protects access during object destruction. | |
Weak reference structure
Allows observing an object without owning it. When the object is destroyed, the weak reference's _inst pointer is set to NULL, allowing safe detection of destruction. Multiple weak references can point to the same object.
Definition at line 113 of file objclass.h.