| 1317 | } |
| 1318 | |
| 1319 | txTypeDispatch* 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 | |
| 1331 | txTypeAtomics* fxProjectTypeAtomics(txMachine* the, txTypeAtomics* atomics) |
| 1332 | { |