| 443 | |
| 444 | extern const txTypeAtomics gxTypeAtomics[]; |
| 445 | txInteger fxGetTypeAtomicsIndex(txTypeAtomics* atomics) |
| 446 | { |
| 447 | txInteger i = 0; |
| 448 | while (i < mxTypeArrayCount) { |
| 449 | if (atomics == &gxTypeAtomics[i]) |
| 450 | return i; |
| 451 | i++; |
| 452 | } |
| 453 | fprintf(stderr, "atomics %p %p\n", atomics, &gxTypeAtomics[0]); |
| 454 | return -1; |
| 455 | } |
| 456 | |
| 457 | void fxLinkerScriptCallback(txMachine* the) |
| 458 | { |