MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxNewLinkerChunk

Function fxNewLinkerChunk

xs/tools/xslBase.c:400–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void* fxNewLinkerChunk(txLinker* linker, txSize size)
401{
402 txLinkerChunk* block = c_malloc(sizeof(txLinkerChunk) + size);
403 mxThrowElse(block);
404 block->nextChunk = linker->firstChunk;
405 linker->firstChunk = block;
406 return block + 1;
407}
408
409void* fxNewLinkerChunkClear(txLinker* linker, txSize size)
410{

Callers 14

fxOptimizeFunction · 0.85
mainFunction · 0.85
fxLinkerScriptCallbackFunction · 0.85
fxBufferMapsFunction · 0.85
fxBufferSymbolsFunction · 0.85
fxMapSymbolsFunction · 0.85
fxNewLinkerChunkClearFunction · 0.85
fxNewLinkerResourceFunction · 0.85
fxNewLinkerScriptFunction · 0.85
fxNewLinkerStringFunction · 0.85
fxNewLinkerSymbolFunction · 0.85
fxReadSymbolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected