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

(pointer, destroy-notifier) pair stored in RFreeList. More...

#include <rlib/data/rlist.h>

Data Fields

rpointer ptr
 
RDestroyNotify notify
 

Detailed Description

(pointer, destroy-notifier) pair stored in RFreeList.

Lets a single list track resources allocated by different subsystems: each entry remembers its own free function.

Field Documentation

◆ notify

RDestroyNotify RFreePtrCtx::notify

Function that knows how to free it.

◆ ptr

rpointer RFreePtrCtx::ptr

The resource to free.


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