Dex.Object¶
- Subclasses:
Methods¶
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.Object¶
- Abstract:
Yes
DexObject
is the basic building block of types defined within libdex. Futures, Schedulers, and Channels all inherit fromDex.Object
which provides features like thread-safe weak pointers and memory management operations.Objects that are integrating with GIO instead inherit from their natural type in GIO.
- ref()¶
- Returns:
the object with its reference count increased
- Return type:
Acquires a reference on the given object, and increases its reference count by one.
- unref()¶
Releases a reference on the given object, and decreases its reference count by one.
If it was the last reference, the resources associated to the instance are freed.