MCPcopy Create free account
hub / github.com/bnjbvr/trinity / warn

Method warn

java-module/Log.java:41–45  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Implementers 1

lib.rsmodules/wit-log/src/lib.rs

Calls 1

wasmImportWarnMethod · 0.95

Tested by

no test coverage detected