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

Function fxMapperMapID

xs/sources/xsAPI.c:2363–2375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2361}
2362
2363void fxMapperMapID(txMapper* self, txID id)
2364{
2365 if (self->bufferOffset == self->bufferSize)
2366 fxMapperStep(self);
2367 *(self->buffer + self->bufferOffset) = (txU1)(id & 0x00FF);
2368 self->bufferOffset++;
2369 self->dirty = 1;
2370 if (self->bufferOffset == self->bufferSize)
2371 fxMapperStep(self);
2372 *(self->buffer + self->bufferOffset) = (txU1)(id >> 8);
2373 self->bufferOffset++;
2374 self->dirty = 1;
2375}
2376
2377void fxMapperMapIDs(txMapper* self)
2378{

Callers 1

fxMapperMapIDsFunction · 0.85

Calls 1

fxMapperStepFunction · 0.85

Tested by

no test coverage detected