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

Function fxGetModule

xs/sources/xsModule.c:563–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563txSlot* fxGetModule(txMachine* the, txSlot* realm, txID moduleID, txFlag moduleFlag)
564{
565 txSlot* result = mxBehaviorGetProperty(the, mxOwnModules(realm)->value.reference, moduleID, 0, XS_ANY);
566 if (result)
567 fxCheckModuleFlag(the, moduleID, mxModuleInternal(result)->flag, moduleFlag);
568 return result;
569}
570
571void fxLinkCircularities(txMachine* the, txSlot* module, txSlot* circularities, txSlot* exports)
572{

Callers 2

fxLoadModulesFromFunction · 0.85
fxRunImportAuxFunction · 0.85

Calls 1

fxCheckModuleFlagFunction · 0.85

Tested by

no test coverage detected