Arbiter
Dependency manager library that supports decentralization
|
Represents opaque data that can be passed to Arbiter data types and functionality, then later retrieved. More...
Public Attributes | |
void * | data |
The underlying data pointer. More... | |
void(* | destructor )(void *data) |
A cleanup function to call when the ArbiterUserContext is done being used. More... | |
Represents opaque data that can be passed to Arbiter data types and functionality, then later retrieved.
This type is used instead of raw pointers to make memory management safer.
void* ArbiterUserContext::data |
The underlying data pointer.
This pointer should be considered to be owned by Arbiter as soon as the ArbiterUserContext is passed into any API. It will eventually be cleaned up by the library through invocation of the provided destructor
.
void(* ArbiterUserContext::destructor) (void *data) |
A cleanup function to call when the ArbiterUserContext is done being used.
This may be NULL.