| 352 | } |
| 353 | |
| 354 | txID* fxMapSymbols(txLinker* linker, txS1* symbolsBuffer, txFlag flag) |
| 355 | { |
| 356 | txID* symbols = C_NULL; |
| 357 | txByte* p = symbolsBuffer; |
| 358 | txID c, i; |
| 359 | mxDecodeID(p, c); |
| 360 | symbols = fxNewLinkerChunk(linker, c * sizeof(txID*)); |
| 361 | symbols[0] = XS_NO_ID; |
| 362 | for (i = 1; i < c; i++) { |
| 363 | txLinkerSymbol* symbol = fxNewLinkerSymbol(linker, (txString)p, flag, 1); |
| 364 | symbols[i] = symbol->ID; |
| 365 | p += mxStringLength((char*)p) + 1; |
| 366 | } |
| 367 | return symbols; |
| 368 | } |
| 369 | |
| 370 | txHostFunctionBuilder* fxNewLinkerBuilder(txLinker* linker, txCallback callback, txInteger length, txID id) |
| 371 | { |
no test coverage detected