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

Function PiuStyleLinkNew

modules/piu/All/piuStyle.c:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void PiuStyleLinkNew(xsMachine* the)
135{
136 PiuStyleLink* self;
137 xsResult = xsNewHostObject(NULL);
138 xsSetHostChunk(xsResult, NULL, sizeof(PiuStyleLinkRecord));
139 self = PIU(StyleLink, xsResult);
140 (*self)->reference = xsToReference(xsResult);
141 xsSetHostHooks(xsResult, &PiuStyleLinkHooks);
142}
143
144void PiuStyleCreate(xsMachine* the)
145{

Callers 4

PiuApplication_purgeFunction · 0.85
PiuApplication_createFunction · 0.85
PiuStyleLinkMatchFunction · 0.85
PiuApplication_purgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected