| 1477 | |
| 1478 | |
| 1479 | LIST * 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 | |
| 1491 | LIST * builtin_imported_modules( FRAME * frame, int flags ) |
nothing calls this directly
no test coverage detected