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

Function fxProjectTypeAtomics

xs/sources/xsSnapshot.c:1331–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1329}
1330
1331txTypeAtomics* fxProjectTypeAtomics(txMachine* the, txTypeAtomics* atomics)
1332{
1333 size_t i = 0;
1334 while (i < mxTypeArrayCount) {
1335 if (atomics == &gxTypeAtomics[i])
1336 return (txTypeAtomics*)i;
1337 i++;
1338 }
1339 fprintf(stderr, "atomics %p %p\n", atomics, &gxTypeAtomics[0]);
1340 return C_NULL;
1341}
1342
1343void fxReadAtom(txMachine* the, txSnapshot* snapshot, Atom* atom, txString type)
1344{

Callers 1

fxWriteSlotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected