MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuTextBegin

Function PiuTextBegin

modules/piu/All/piuText.c:345–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345void PiuTextBegin(PiuText* self)
346{
347 xsMachine *the = (*self)->the;
348 PiuTextBufferClear(the, (*self)->nodeBuffer);
349 (*self)->nodeLink = NULL;
350 (*self)->nodeOffset = -1;
351 (*self)->textOffset = 0;
352}
353
354void PiuTextBeginNode(PiuText* self, PiuTextKind kind, PiuStyle* style, PiuTextLink* link)
355{

Callers 4

PiuTextDictionaryFunction · 0.85
PiuText_set_blocksFunction · 0.85
PiuText_set_stringFunction · 0.85
PiuText_beginFunction · 0.85

Calls 1

PiuTextBufferClearFunction · 0.85

Tested by

no test coverage detected