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

Type of the cellul dispatch table. More...

#include <cellularum_laboro.h>

Data Fields

CatenaFinitaCfg(*) init (const CatenaFinitaCfg *args)
size_t(*) len (const CatenaFinitaCfg *args)
size_t(*) diff (const CatenaFinitaCfg *args)
embed_bool(*) eq (const CatenaFinitaCfg *args)
embed_bool(*) starts (const CatenaFinitaCfg *args)
const char *(*) find (const CatenaFinitaCfg *args)
embed_bool(*) has (const CatenaFinitaCfg *args)
const char *(*) chr (const CatenaFinitaCfg *args)
size_t(*) copy (const CatenaFinitaCfg *args)
embed_bool(*) ws (const CatenaFinitaCfg *args)
embed_bool(*) digit (const CatenaFinitaCfg *args)
embed_iword(*) step_word (const VerboProgrediorCfg *args)
embed_iword(*) step_byte (const VerboProgrediorCfg *args)
embed_iword(*) to_long (const TransfiguroCfg *args)
embed_word(*) to_ulong (const TransfiguroCfg *args)
double(*) to_double (const TransfiguroCfg *args)
float(*) to_float (const TransfiguroCfg *args)

Detailed Description

Type of the cellul dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the seventeen members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.
Byte and wire verbs are not here. rd_str and mpint_fixed read a length off the wire instead of out of a string, and so they belong to the byteio module and act on its spans.

Definition at line 136 of file cellularum_laboro.h.

Field Documentation

◆ init

CatenaFinitaCfg(*) CellularumLaboroNs::init(const CatenaFinitaCfg *args)

Copies the argument struct.

Definition at line 138 of file cellularum_laboro.h.

◆ len

size_t(*) CellularumLaboroNs::len(const CatenaFinitaCfg *args)

Bytes before the terminator.

Definition at line 139 of file cellularum_laboro.h.

◆ diff

size_t(*) CellularumLaboroNs::diff(const CatenaFinitaCfg *args)

Offset of the first differing byte.

Definition at line 140 of file cellularum_laboro.h.

◆ eq

embed_bool(*) CellularumLaboroNs::eq(const CatenaFinitaCfg *args)

Whether both end together with no difference.

Definition at line 141 of file cellularum_laboro.h.

◆ starts

embed_bool(*) CellularumLaboroNs::starts(const CatenaFinitaCfg *args)

Whether src begins with other.

Definition at line 142 of file cellularum_laboro.h.

◆ find

const char *(*) CellularumLaboroNs::find(const CatenaFinitaCfg *args)

First occurrence of other in src.

Definition at line 143 of file cellularum_laboro.h.

◆ has

embed_bool(*) CellularumLaboroNs::has(const CatenaFinitaCfg *args)

Whether find would report a match.

Definition at line 144 of file cellularum_laboro.h.

◆ chr

const char *(*) CellularumLaboroNs::chr(const CatenaFinitaCfg *args)

First occurrence of byte in src.

Definition at line 145 of file cellularum_laboro.h.

◆ copy

size_t(*) CellularumLaboroNs::copy(const CatenaFinitaCfg *args)

Bounded copy, terminated unless cap is 0.

Definition at line 146 of file cellularum_laboro.h.

◆ ws

embed_bool(*) CellularumLaboroNs::ws(const CatenaFinitaCfg *args)

Whether src[at] is whitespace.

Definition at line 147 of file cellularum_laboro.h.

◆ digit

embed_bool(*) CellularumLaboroNs::digit(const CatenaFinitaCfg *args)

Whether src[at] is a decimal digit.

Definition at line 148 of file cellularum_laboro.h.

◆ step_word

embed_iword(*) CellularumLaboroNs::step_word(const VerboProgrediorCfg *args)

One word compare driving a walk.

Definition at line 149 of file cellularum_laboro.h.

◆ step_byte

embed_iword(*) CellularumLaboroNs::step_byte(const VerboProgrediorCfg *args)

One byte compare driving a walk.

Definition at line 150 of file cellularum_laboro.h.

◆ to_long

embed_iword(*) CellularumLaboroNs::to_long(const TransfiguroCfg *args)

Text to signed integer.

Definition at line 151 of file cellularum_laboro.h.

◆ to_ulong

embed_word(*) CellularumLaboroNs::to_ulong(const TransfiguroCfg *args)

Text to unsigned integer.

Definition at line 152 of file cellularum_laboro.h.

◆ to_double

double(*) CellularumLaboroNs::to_double(const TransfiguroCfg *args)

Text to double.

Definition at line 153 of file cellularum_laboro.h.

◆ to_float

float(*) CellularumLaboroNs::to_float(const TransfiguroCfg *args)

Text to float.

Definition at line 154 of file cellularum_laboro.h.


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