rlib
Convenience library for useful things
Loading...
Searching...
No Matches
RFuncCallbackCtx Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ cb

RFunc RFuncCallbackCtx::cb

Function to call.

◆ data

rpointer RFuncCallbackCtx::data

First argument (function-side data).

◆ datanotify

RDestroyNotify RFuncCallbackCtx::datanotify

Destroy notifier for data.

◆ user

rpointer RFuncCallbackCtx::user

Second argument (caller-side cookie).

◆ usernotify

RDestroyNotify RFuncCallbackCtx::usernotify

Destroy notifier for user.


The documentation for this struct was generated from the following file: