MCPcopy Index your code
hub / github.com/java-native-access/jna / PointerArray

Class PointerArray

src/com/sun/jna/Function.java:823–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821 }
822
823 private static class PointerArray extends Memory implements PostCallRead {
824 private final Pointer[] original;
825 public PointerArray(Pointer[] arg) {
826 super(Native.POINTER_SIZE * (arg.length+1));
827 this.original = arg;
828 for (int i=0;i < arg.length;i++) {
829 setPointer(i*Native.POINTER_SIZE, arg[i]);
830 }
831 setPointer(Native.POINTER_SIZE*arg.length, null);
832 }
833 @Override
834 public void read() {
835 read(0, original, 0, original.length);
836 }
837 }
838
839 /** Implementation of Boolean.valueOf for older VMs. */
840 static Boolean valueOf(boolean b) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…