| 731 | } |
| 732 | |
| 733 | /* ------------------------------------------------------------------ */ |
| 734 | /* Modules and globals */ |
| 735 | /* ------------------------------------------------------------------ */ |
| 736 | |
| 737 | LEAN_EXPORT lean_obj_res lean_py_import(b_lean_obj_arg name, lean_obj_arg world) { |
| 738 | (void)world; ENSURE_INIT(); WITH_GIL(); |
| 739 | return ok_owned_or_err(p_PyImport_ImportModule(lean_string_cstr(name))); |
| 740 | } |
no outgoing calls
no test coverage detected