MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
ConfiniumExternumNs Struct Reference

Type of the exter dispatch table. More...

#include <confinium_externum.h>

Data Fields

mmgr_place(*) place (const ExternumCfg *c)
void(*) pingpong_init (const ExternumCfg *c)
uint8_t(*) pingpong_fill (const ExternumCfg *c)
uint8_t(*) pingpong_drain (const ExternumCfg *c)
uint8_t(*) pingpong_swap (const ExternumCfg *c)

Detailed Description

Type of the exter dispatch table.

Note
MMGR_NS_LAYOUT asserts the five members sit at consecutive MMGR_FP_SIZE offsets, with nothing else.
Every entry takes the same argument pack, as in carceribus and infinitas.

Definition at line 60 of file confinium_externum.h.

Field Documentation

◆ place

mmgr_place(*) ConfiniumExternumNs::place(const ExternumCfg *c)

Decides where a request goes.

Definition at line 62 of file confinium_externum.h.

◆ pingpong_init

void(*) ConfiniumExternumNs::pingpong_init(const ExternumCfg *c)

Points the pair at buffer 0.

Definition at line 63 of file confinium_externum.h.

◆ pingpong_fill

uint8_t(*) ConfiniumExternumNs::pingpong_fill(const ExternumCfg *c)

Index being filled.

Definition at line 64 of file confinium_externum.h.

◆ pingpong_drain

uint8_t(*) ConfiniumExternumNs::pingpong_drain(const ExternumCfg *c)

Index being drained.

Definition at line 65 of file confinium_externum.h.

◆ pingpong_swap

uint8_t(*) ConfiniumExternumNs::pingpong_swap(const ExternumCfg *c)

Swaps the two roles.

Definition at line 66 of file confinium_externum.h.


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