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

Function PiuText_set_string

modules/piu/All/piuText.c:1216–1224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214}
1215
1216void PiuText_set_string(xsMachine *the)
1217{
1218 PiuText* self = PIU(Text, xsThis);
1219 PiuTextBegin(self);
1220 PiuTextBeginNode(self, piuTextNodeBeginBlockKind, NULL, NULL);
1221 PiuTextConcat(self, PiuString(xsArg(0)));
1222 PiuTextEndNode(self, piuTextNodeEndBlockKind);
1223 PiuTextEnd(self);
1224}
1225
1226void PiuText_begin(xsMachine *the)
1227{

Callers

nothing calls this directly

Calls 5

PiuTextBeginFunction · 0.85
PiuTextBeginNodeFunction · 0.85
PiuTextConcatFunction · 0.85
PiuTextEndNodeFunction · 0.85
PiuTextEndFunction · 0.85

Tested by

no test coverage detected