| 116 | } |
| 117 | |
| 118 | void fxBaseScript(txLinker* linker, txLinkerScript* script, txString base, txInteger baseLength) |
| 119 | { |
| 120 | if (c_strncmp(script->path, base, baseLength)) |
| 121 | fxReportLinkerError(linker, "'%s': not relative to '%s'", script->path, base); |
| 122 | script->path = fxBasePrefix(linker, script->path + baseLength); |
| 123 | script->pathSize = mxStringLength(script->path) - 4; |
| 124 | script->path[script->pathSize] = 0; |
| 125 | script->pathSize++; |
| 126 | script->scriptIndex = linker->scriptCount; |
| 127 | linker->scriptCount++; |
| 128 | } |
| 129 | |
| 130 | void fxBufferMaps(txLinker* linker) |
| 131 | { |
no test coverage detected