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

Type of the verba_textus dispatch table. More...

#include <verba_scribo.h>

Data Fields

size_t(*) put_n (const VerbaTextusCfg *args)
size_t(*) put (const VerbaTextusCfg *args)
size_t(*) put_clip (const VerbaTextusCfg *args)
size_t(*) xml (const VerbaTextusCfg *args)
size_t(*) json (const VerbaTextusCfg *args)

Detailed Description

Type of the verba_textus dispatch table.

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

Definition at line 64 of file verba_scribo.h.

Field Documentation

◆ put_n

size_t(*) VerbaScriboTextusNs::put_n(const VerbaTextusCfg *args)

Writes a counted run of text.

Definition at line 66 of file verba_scribo.h.

◆ put

size_t(*) VerbaScriboTextusNs::put(const VerbaTextusCfg *args)

Writes a terminated string, measuring it first.

Definition at line 67 of file verba_scribo.h.

◆ put_clip

size_t(*) VerbaScriboTextusNs::put_clip(const VerbaTextusCfg *args)

Writes as much of a string as fits.

Definition at line 68 of file verba_scribo.h.

◆ xml

size_t(*) VerbaScriboTextusNs::xml(const VerbaTextusCfg *args)

Writes text with the four XML entities substituted.

Definition at line 69 of file verba_scribo.h.

◆ json

size_t(*) VerbaScriboTextusNs::json(const VerbaTextusCfg *args)

Writes text as a quoted JSON string.

Definition at line 70 of file verba_scribo.h.


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