(source: *const u8, length: usize)
| 102 | /// See [`parseRoutes`]. |
| 103 | #[unsafe(no_mangle)] |
| 104 | pub unsafe extern "C" fn parseImports(source: *const u8, length: usize) -> u64 { |
| 105 | unsafe { |
| 106 | parse_and_then(source, length, extract_imports) |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | /// Decode UTF-8 source, parse with [`parse_module`], run `extract`, serialize, and |
| 111 | /// `report`. Returns 0 on invalid UTF-8, a syntax error, or an empty result (host |
nothing calls this directly
no test coverage detected