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

Function _xsNewArray

xs/sources/xsmc.c:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#define fxPush(_SLOT) (*(--the->stack) = (_SLOT))
43
44void _xsNewArray(txMachine *the, txSlot *res, txInteger length)
45{
46 fxNewArray(the, length);
47 *res = fxPop();
48}
49
50void _xsNewObject(txMachine *the, txSlot *res)
51{

Callers

nothing calls this directly

Calls 1

fxNewArrayFunction · 0.85

Tested by

no test coverage detected