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

Function fxBigInt64Getter

xs/sources/xsDataView.c:2854–2865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2852}
2853
2854void fxBigInt64Getter(txMachine* the, txSlot* data, txInteger offset, txSlot* slot, int endian)
2855{
2856 txS8 value;
2857#ifdef mxMisalignedSettersCrash
2858 c_memcpy(&value, data->value.arrayBuffer.address + offset, sizeof(value));
2859#else
2860 value = *((txS8*)(data->value.arrayBuffer.address + offset));
2861#endif
2862 value = IMPORT(S64);
2863 fxFromBigInt64(the, slot, value);
2864 mxMeterOne();
2865}
2866
2867void fxBigInt64Setter(txMachine* the, txSlot* data, txInteger offset, txSlot* slot, int endian)
2868{

Callers

nothing calls this directly

Calls 1

fxFromBigInt64Function · 0.85

Tested by

no test coverage detected