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

Function fxNextNumberProperty

xs/sources/xsProperty.c:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131txSlot* fxNextNumberProperty(txMachine* the, txSlot* property, txNumber number, txID id, txFlag flag)
132{
133 property = property->next = fxNewSlot(the);
134 property->flag = flag;
135 property->ID = id;
136 property->kind = XS_NUMBER_KIND;
137 property->value.number = number;
138 return property;
139}
140
141txSlot* fxNextReferenceProperty(txMachine* the, txSlot* property, txSlot* slot, txID id, txFlag flag)
142{

Callers 8

fxBuildMathFunction · 0.85
fxNewDateInstanceFunction · 0.85
fxBuildNumberFunction · 0.85
fxNewNumberInstanceFunction · 0.85

Calls 1

fxNewSlotFunction · 0.85

Tested by

no test coverage detected