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

Type of the exter dispatch table. More...

#include <memoria_externa.h>

Data Fields

mmgr_place(*) place (const ExternaCfg *args)
void(*) pingpong_init (const ExternaCfg *args)
uint8_t(*) pingpong_fill (const ExternaCfg *args)
uint8_t(*) pingpong_drain (const ExternaCfg *args)
uint8_t(*) pingpong_swap (const ExternaCfg *args)

Detailed Description

Type of the exter dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the five members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.
Every entry takes the same argument pack, as in locus_carcerum and memoria_anularis.

Definition at line 73 of file memoria_externa.h.

Field Documentation

◆ place

mmgr_place(*) MemoriaExternaNs::place(const ExternaCfg *args)

Decides where a request goes.

Definition at line 75 of file memoria_externa.h.

◆ pingpong_init

void(*) MemoriaExternaNs::pingpong_init(const ExternaCfg *args)

Points the pair at buffer 0.

Definition at line 76 of file memoria_externa.h.

◆ pingpong_fill

uint8_t(*) MemoriaExternaNs::pingpong_fill(const ExternaCfg *args)

Index being filled.

Definition at line 77 of file memoria_externa.h.

◆ pingpong_drain

uint8_t(*) MemoriaExternaNs::pingpong_drain(const ExternaCfg *args)

Index being drained.

Definition at line 78 of file memoria_externa.h.

◆ pingpong_swap

uint8_t(*) MemoriaExternaNs::pingpong_swap(const ExternaCfg *args)

Swaps the two roles.

Definition at line 79 of file memoria_externa.h.


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