MCPcopy Create free account
hub / github.com/boostorg/build / builtin_import_module

Function builtin_import_module

v2/engine/builtins.c:1479–1488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1477
1478
1479LIST * builtin_import_module( FRAME * frame, int flags )
1480{
1481 LIST * const arg1 = lol_get( frame->args, 0 );
1482 LIST * const arg2 = lol_get( frame->args, 1 );
1483 module_t * const m = list_empty( arg2 )
1484 ? root_module()
1485 : bindmodule( list_front( arg2 ) );
1486 import_module( arg1, m );
1487 return L0;
1488}
1489
1490
1491LIST * builtin_imported_modules( FRAME * frame, int flags )

Callers

nothing calls this directly

Calls 4

lol_getFunction · 0.85
root_moduleFunction · 0.85
bindmoduleFunction · 0.85
import_moduleFunction · 0.85

Tested by

no test coverage detected