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

Function fxTypedArrayGetProperty

xs/sources/xsDataView.c:1324–1332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1322}
1323
1324txSlot* fxTypedArrayGetProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txFlag flag)
1325{
1326 if ((!id) || fxIsCanonicalIndex(the, id)) {
1327 the->scratch.value.at.id = id;
1328 the->scratch.value.at.index = index;
1329 return &mxTypedArrayAccessor;
1330 }
1331 return fxOrdinaryGetProperty(the, instance, id, index, flag);
1332}
1333
1334txBoolean fxTypedArrayGetPropertyValue(txMachine* the, txSlot* instance, txID id, txIndex index, txSlot* receiver, txSlot* value)
1335{

Callers

nothing calls this directly

Calls 2

fxIsCanonicalIndexFunction · 0.85
fxOrdinaryGetPropertyFunction · 0.85

Tested by

no test coverage detected