MCPcopy Create free account
hub / github.com/HumbleUI/JWM / Native

Method Native

shared/java/impl/Native.java:12–16  ·  view source on GitHub ↗
(long ptr)

Source from the content-addressed store, hash-verified

10 public static long getPtr(Native n) { return n == null ? 0 : n._ptr; }
11
12 public Native(long ptr) {
13 if (ptr == 0)
14 throw new RuntimeException("Can't wrap nullptr");
15 this._ptr = ptr;
16 }
17
18 @Override
19 public String toString() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected