| 368 | } |
| 369 | |
| 370 | txHostFunctionBuilder* fxNewLinkerBuilder(txLinker* linker, txCallback callback, txInteger length, txID id) |
| 371 | { |
| 372 | txLinkerBuilder* result = fxNewLinkerChunkClear(linker, sizeof(txLinkerBuilder)); |
| 373 | result->builderIndex = linker->builderCount; |
| 374 | linker->builderCount++; |
| 375 | if (linker->lastBuilder) |
| 376 | linker->lastBuilder->nextBuilder = result; |
| 377 | else |
| 378 | linker->firstBuilder = result; |
| 379 | linker->lastBuilder = result; |
| 380 | result->host.callback = callback; |
| 381 | result->host.length = length; |
| 382 | result->host.id = id; |
| 383 | return &(result->host); |
| 384 | } |
| 385 | |
| 386 | txCallback fxNewLinkerCallback(txMachine* the, txCallback callback, txString name) |
| 387 | { |
no test coverage detected