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

Function PiuTransitionBegin

modules/piu/All/piuTransition.c:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58void PiuTransitionBegin(PiuTransition* self)
59{
60 xsBeginHost((*self)->the);
61 xsVars(3);
62 xsVar(0) = xsReference((*self)->reference);
63 xsVar(1) = xsGet(xsVar(0), xsID_onBegin);
64 xsVar(2) = xsGet(xsVar(0), xsID_parameters);
65 (void)xsCall2(xsVar(1), xsID_apply, xsVar(0), xsVar(2));
66 (void)xsCall1(xsVar(0), xsID_onStep, xsNumber(0));
67 xsEndHost((*self)->the);
68}
69
70void PiuTransitionComplete(PiuTransition* self, PiuContainer* container)
71{

Callers 3

PiuTransitionCompleteFunction · 0.85
PiuTransitionIdleFunction · 0.85
PiuTransitionRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected