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

Function fxTypedArraySetProperty

xs/sources/xsDataView.c:1394–1402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394txSlot* fxTypedArraySetProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txFlag flag)
1395{
1396 if ((!id) || fxIsCanonicalIndex(the, id)) {
1397 the->scratch.value.at.id = id;
1398 the->scratch.value.at.index = index;
1399 return &mxTypedArrayAccessor;
1400 }
1401 return fxOrdinarySetProperty(the, instance, id, index, flag);
1402}
1403
1404txBoolean fxTypedArraySetPropertyValue(txMachine* the, txSlot* instance, txID id, txIndex index, txSlot* value, txSlot* receiver)
1405{

Callers

nothing calls this directly

Calls 2

fxIsCanonicalIndexFunction · 0.85
fxOrdinarySetPropertyFunction · 0.85

Tested by

no test coverage detected