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

Function PiuContent_get_duration

modules/piu/All/piuContent.c:776–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774}
775
776void PiuContent_get_duration(xsMachine *the)
777{
778 PiuContent* self = PIU(Content, xsThis);
779 if ((*self)->idleOffset)
780 xsResult = xsNumber(PiuContentUseIdle(self)->duration);
781 else
782 xsResult = xsNumber(0);
783}
784
785void PiuContent_get_exclusiveTouch(xsMachine *the)
786{

Callers

nothing calls this directly

Calls 1

PiuContentUseIdleFunction · 0.85

Tested by

no test coverage detected