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

Function fxAllocateSlots

xs/sources/xsPlatforms.c:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129#if mxUseDefaultSlotAllocation
130
131txSlot* fxAllocateSlots(txMachine* the, txSize theCount)
132{
133 return(txSlot*)c_malloc(theCount * sizeof(txSlot));
134}
135
136void fxFreeSlots(txMachine* the, void* theSlots)
137{

Callers 2

fxAllocateFunction · 0.70
fxGrowSlotsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected