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

Function PiuFontListNew

modules/piu/Pebble/piuFont.c:264–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void PiuFontListNew(xsMachine* the)
265{
266 PiuFontList* self;
267 xsResult = xsNewHostObject(NULL);
268 xsSetHostChunk(xsResult, NULL, sizeof(PiuFontListRecord));
269 self = PIU(FontList, xsResult);
270 (*self)->reference = xsToReference(xsResult);
271 xsSetHostHooks(xsResult, &PiuFontListHooks);
272}

Callers 1

PiuStyleLookupFontFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected