| 1035 | } |
| 1036 | |
| 1037 | void fxWriteScriptRecord(txLinkerScript* script, FILE* file) |
| 1038 | { |
| 1039 | fprintf(file, "\t{ "); |
| 1040 | if (script->hostsBuffer) |
| 1041 | fprintf(file, "xsHostModule%d, ", script->scriptIndex); |
| 1042 | else |
| 1043 | fprintf(file, "NULL, "); |
| 1044 | fprintf(file, "NULL, 0, "); |
| 1045 | if (script->preload == C_NULL) |
| 1046 | fprintf(file, "(txS1*)gxCode%d, %d, ", script->scriptIndex, script->codeSize); |
| 1047 | else |
| 1048 | fprintf(file, "NULL, 0, "); |
| 1049 | fprintf(file, "NULL, 0, "); |
| 1050 | fxWriteCString(file, script->path); |
| 1051 | fprintf(file, ", "); |
| 1052 | fprintf(file, "{ XS_MAJOR_VERSION, XS_MINOR_VERSION, XS_PATCH_VERSION, 0 } "); |
| 1053 | fprintf(file, "}"); |
| 1054 | } |
| 1055 | |
| 1056 | void fxWriteSymbols(txLinker* linker, txString path, FILE** fileAddress) |
| 1057 | { |
no test coverage detected