| 384 | } |
| 385 | |
| 386 | txCallback fxNewLinkerCallback(txMachine* the, txCallback callback, txString name) |
| 387 | { |
| 388 | txLinker* linker = (txLinker*)(the->context); |
| 389 | txLinkerCallback* result = fxNewLinkerChunkClear(linker, sizeof(txLinkerCallback)); |
| 390 | result->nextCallback = linker->firstCallback; |
| 391 | linker->firstCallback = result; |
| 392 | if (callback == fx_TypedArray) |
| 393 | result->callback = gxTypeCallbacks[gxTypeCallbacksIndex++]; |
| 394 | else |
| 395 | result->callback = callback; |
| 396 | result->name = name; |
| 397 | return result->callback; |
| 398 | } |
| 399 | |
| 400 | void* fxNewLinkerChunk(txLinker* linker, txSize size) |
| 401 | { |
no test coverage detected