| 888 | } |
| 889 | |
| 890 | void fxPrintBuilders(txMachine* the, FILE* file) |
| 891 | { |
| 892 | txLinker* linker = (txLinker*)(the->context); |
| 893 | txLinkerBuilder* linkerBuilder = linker->firstBuilder; |
| 894 | fprintf(file, "static const xsHostBuilder gxBuilders[%d] = {\n", linker->builderCount); |
| 895 | while (linkerBuilder) { |
| 896 | txString name = fxGetCallbackName(the, linkerBuilder->host.callback); |
| 897 | fprintf(file, "\t{ %s, %d, ", name, linkerBuilder->host.length); |
| 898 | fxPrintID(the, file, linkerBuilder->host.id); |
| 899 | fprintf(file, " },\n"); |
| 900 | linkerBuilder = linkerBuilder->nextBuilder; |
| 901 | } |
| 902 | fprintf(file, "};\n\n"); |
| 903 | } |
| 904 | |
| 905 | void fxPrintHeap(txMachine* the, FILE* file, txInteger count) |
| 906 | { |
no test coverage detected