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

Function fxNewInstance

xs/sources/xsType.c:162–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162txSlot* fxNewInstance(txMachine* the)
163{
164 txSlot* instance = fxNewSlot(the);
165 instance->kind = XS_INSTANCE_KIND;
166 instance->value.instance.garbage = C_NULL;
167 instance->value.instance.prototype = C_NULL;
168 mxPushReference(instance);
169 return instance;
170}
171
172txBoolean fxIsSameInstance(txMachine* the, txSlot* a, txSlot* b)
173{

Callers 15

fx_parseQueryFunction · 0.85
fx_deepEqualInstancesFunction · 0.85
mainFunction · 0.85
fxBuildKeysFunction · 0.85
fxCheckModuleOptionsFunction · 0.85
fxCompleteModuleFunction · 0.85
fxLinkCircularitiesFunction · 0.85
fxLinkModulesFunction · 0.85
fxMapModuleDescriptorFunction · 0.85
fxResolveModuleFunction · 0.85

Calls 1

fxNewSlotFunction · 0.85

Tested by

no test coverage detected