(long ptr)
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected