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

Arguments for the four numer calls. More...

#include <numeros_scribo.h>

Data Fields

char *const out
const size_t cap
const size_t at
const mmgr_field *const spec
const mmgr_fval *const vals
const size_t nvals

Detailed Description

Arguments for the four numer calls.

Note
build and append read all six members. emit and emit_append leave spec alone.
at is the cursor, as in verba. build and emit begin there and return where they finished, and therefore a run of writes threads the cursor instead of measuring the text again between each. Leave it unset and a call starts at the first byte, as a single write wants.

Definition at line 250 of file numeros_scribo.h.

Field Documentation

◆ out

char* const NumerosCfg::out

Destination buffer [BORROWS].

Definition at line 252 of file numeros_scribo.h.

◆ cap

const size_t NumerosCfg::cap

Bytes available in out.

Definition at line 253 of file numeros_scribo.h.

◆ at

const size_t NumerosCfg::at

Offset to begin writing at; 0 for the first write.

Definition at line 254 of file numeros_scribo.h.

◆ spec

const mmgr_field* const NumerosCfg::spec

Field list, ending at MMGR_FK_END [BORROWS].

Definition at line 255 of file numeros_scribo.h.

◆ vals

const mmgr_fval* const NumerosCfg::vals

Values to place into the fields [BORROWS].

Definition at line 256 of file numeros_scribo.h.

◆ nvals

const size_t NumerosCfg::nvals

Values in vals.

Definition at line 257 of file numeros_scribo.h.


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