(String s)
| 39 | private static native void wasmImportWarn(int p0, int p1); |
| 40 | |
| 41 | public static void warn(String s) { |
| 42 | byte[] bytes = (s).getBytes(StandardCharsets.UTF_8); |
| 43 | wasmImportWarn(Address.ofData(bytes).toInt(), bytes.length); |
| 44 | |
| 45 | } |
| 46 | @Import(name = "error", module = "log") |
| 47 | private static native void wasmImportError(int p0, int p1); |
| 48 |
nothing calls this directly
no test coverage detected