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

Function PiuFontNew

modules/piu/Pebble/piuFont.c:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void PiuFontNew(xsMachine* the)
121{
122 PiuFont* self;
123 xsResult = xsNewHostObject(NULL);
124 xsSetHostChunk(xsResult, NULL, sizeof(PiuFontRecord));
125 self = PIU(Font, xsResult);
126 (*self)->reference = xsToReference(xsResult);
127 (*self)->the = the;
128 xsSetHostHooks(xsResult, &PiuFontHooks);
129}
130
131void PiuStyleLookupFont(PiuStyle* self)
132{

Callers 1

PiuStyleLookupFontFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected