MMgr v2.3.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
MemoriaVectorCfg Struct Reference

Arguments for every mmgr_vector_ entry, each reading only the members it needs. More...

#include <memoria_vector.h>

Data Fields

VectorRecord *const vector
const CarcerMovableEntry *(*const) take (size_t size, const CellOwner *owner)
embed_bool(*const) give (const CarcerMovableEntry *cell, const CellOwner *owner)
embed_bool(*const) read (const CarcerMovableCfg *args)
embed_bool(*const) write (const CarcerMovableCfg *args)
const size_t index
const void *const src
void *const dst

Detailed Description

Arguments for every mmgr_vector_ entry, each reading only the members it needs.

Note
Every entry reads vector, and every entry but mmgr_vector_size reads the four movable entries of the guard. at and set read index, set and push_back read src, and at and pop_back read dst.
Members left unset are zero, and the entries that ignore them never read them.

Definition at line 131 of file memoria_vector.h.

Field Documentation

◆ vector

VectorRecord* const MemoriaVectorCfg::vector

The token of the vector [BORROWS].

Definition at line 133 of file memoria_vector.h.

◆ take

const CarcerMovableEntry *(*const) MemoriaVectorCfg::take(size_t size, const CellOwner *owner)

The movable take of the guard.

Definition at line 134 of file memoria_vector.h.

◆ give

embed_bool(*const) MemoriaVectorCfg::give(const CarcerMovableEntry *cell, const CellOwner *owner)

The movable release of the guard.

Definition at line 135 of file memoria_vector.h.

◆ read

embed_bool(*const) MemoriaVectorCfg::read(const CarcerMovableCfg *args)

The movable read of the guard.

Definition at line 137 of file memoria_vector.h.

◆ write

embed_bool(*const) MemoriaVectorCfg::write(const CarcerMovableCfg *args)

The movable write of the guard.

Definition at line 138 of file memoria_vector.h.

◆ index

const size_t MemoriaVectorCfg::index

The element at and set reach.

Definition at line 139 of file memoria_vector.h.

◆ src

const void* const MemoriaVectorCfg::src

The element set and push_back copy in [BORROWS].

Definition at line 140 of file memoria_vector.h.

◆ dst

void* const MemoriaVectorCfg::dst

Where at and pop_back copy the element [BORROWS].

Definition at line 141 of file memoria_vector.h.


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