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

Function fxProjectTypeDispatch

xs/sources/xsSnapshot.c:1319–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317}
1318
1319txTypeDispatch* fxProjectTypeDispatch(txMachine* the, txTypeDispatch* dispatch)
1320{
1321 size_t i = 0;
1322 while (i < mxTypeArrayCount) {
1323 if (dispatch == &gxTypeDispatches[i])
1324 return (txTypeDispatch*)i;
1325 i++;
1326 }
1327 fprintf(stderr, "dispatch %p %p\n", dispatch, &gxTypeDispatches[0]);
1328 return C_NULL;
1329}
1330
1331txTypeAtomics* fxProjectTypeAtomics(txMachine* the, txTypeAtomics* atomics)
1332{

Callers 1

fxWriteSlotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected