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

Callback context for a function that returns rboolean. More...

#include <rlib/data/rcbctx.h>

Data Fields

RFuncReturn cb
 
rpointer data
 
RDestroyNotify datanotify
 
rpointer user
 
RDestroyNotify usernotify
 

Detailed Description

Callback context for a function that returns rboolean.

Used by RCBRList where the call result drives whether the iteration continues.

Field Documentation

◆ cb

RFuncReturn RFuncReturnCallbackCtx::cb

Function to call.

◆ data

rpointer RFuncReturnCallbackCtx::data

First argument (function-side data).

◆ datanotify

RDestroyNotify RFuncReturnCallbackCtx::datanotify

Destroy notifier for data.

◆ user

rpointer RFuncReturnCallbackCtx::user

Second argument (caller-side cookie).

◆ usernotify

RDestroyNotify RFuncReturnCallbackCtx::usernotify

Destroy notifier for user.


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