|
rlib
Convenience library for useful things
|
Callback context for a void-returning function.
More...
#include <rlib/data/rcbctx.h>
Data Fields | |
| RFunc | cb |
| rpointer | data |
| RDestroyNotify | datanotify |
| rpointer | user |
| RDestroyNotify | usernotify |
Callback context for a void-returning function.
data and user are passed as the function's two arguments; datanotify and usernotify (each may be NULL) are invoked when the tuple is cleared.
| RFunc RFuncCallbackCtx::cb |
Function to call.
| rpointer RFuncCallbackCtx::data |
First argument (function-side data).
| RDestroyNotify RFuncCallbackCtx::datanotify |
Destroy notifier for data.
| rpointer RFuncCallbackCtx::user |
Second argument (caller-side cookie).
| RDestroyNotify RFuncCallbackCtx::usernotify |
Destroy notifier for user.