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

Function fxDuplicateSlot

xs/sources/xsMemory.c:427–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427txSlot* fxDuplicateSlot(txMachine* the, txSlot* theSlot)
428{
429 txSlot* result;
430
431 result = fxNewSlot(the);
432 result->ID = theSlot->ID;
433 result->kind = theSlot->kind;
434 result->flag = theSlot->flag & ~XS_MARK_FLAG;
435 result->value = theSlot->value;
436 return result;
437}
438
439void* fxFindChunk(txMachine* the, txSize size, txBoolean *once)
440{

Callers 11

fx_deepEqualEntriesFunction · 0.85
fxDuplicateStringFunction · 0.85
fxLinkCircularitiesFunction · 0.85
fxLinkModulesFunction · 0.85
fxLinkNamespaceFunction · 0.85
fxGroupByFunction · 0.85
fxCloneMachineFunction · 0.85
fxAliasInstanceFunction · 0.85
fxDuplicateInstanceFunction · 0.85

Calls 1

fxNewSlotFunction · 0.85

Tested by

no test coverage detected