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

Function PiuFontListNew

modules/piu/MC/piuFont.c:386–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386void PiuFontListNew(xsMachine* the)
387{
388 PiuFontList* self;
389 xsResult = xsNewHostObject(NULL);
390 xsSetHostChunk(xsResult, NULL, sizeof(PiuFontListRecord));
391 self = PIU(FontList, xsResult);
392 (*self)->reference = xsToReference(xsResult);
393 xsSetHostHooks(xsResult, &PiuFontListHooks);
394}
395

Callers 1

PiuStyleLookupFontFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected