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

Type of the vector dispatch table. More...

#include <memoria_vector.h>

Data Fields

embed_bool(*) at (const MemoriaVectorCfg *args)
embed_bool(*) set (const MemoriaVectorCfg *args)
embed_bool(*) push_back (const MemoriaVectorCfg *args)
embed_bool(*) pop_back (const MemoriaVectorCfg *args)
size_t(*) size (const MemoriaVectorCfg *args)
embed_bool(*) release (const MemoriaVectorCfg *args)

Detailed Description

Type of the vector dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the six members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.

Definition at line 150 of file memoria_vector.h.

Field Documentation

◆ at

embed_bool(*) MemoriaVectorNs::at(const MemoriaVectorCfg *args)

Copies the element at index out.

Definition at line 152 of file memoria_vector.h.

◆ set

embed_bool(*) MemoriaVectorNs::set(const MemoriaVectorCfg *args)

Copies an element in at index.

Definition at line 153 of file memoria_vector.h.

◆ push_back

embed_bool(*) MemoriaVectorNs::push_back(const MemoriaVectorCfg *args)

Appends an element.

Definition at line 154 of file memoria_vector.h.

◆ pop_back

embed_bool(*) MemoriaVectorNs::pop_back(const MemoriaVectorCfg *args)

Removes the last element and copies it out.

Definition at line 155 of file memoria_vector.h.

◆ size

size_t(*) MemoriaVectorNs::size(const MemoriaVectorCfg *args)

The count of elements.

Definition at line 156 of file memoria_vector.h.

◆ release

embed_bool(*) MemoriaVectorNs::release(const MemoriaVectorCfg *args)

Gives the cell back and leaves no element.

Definition at line 157 of file memoria_vector.h.


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