MCPcopy Create free account
hub / github.com/gomatcha/matcha / makeGoArray

Method makeGoArray

cmd/GoValue.java:45–51  ·  view source on GitHub ↗
(GoValue[] v)

Source from the content-addressed store, hash-verified

43 return new GoValue(matchaGoType(v), false);
44 }
45 private static long makeGoArray(GoValue[] v) {
46 long[] array = new long[v.length];
47 for (int i = 0; i < v.length; i++) {
48 array[i] = v[i].goRef;
49 }
50 return matchaGoArray(array);
51 }
52
53 private static native long matchaGoForeign(long a);
54 private static native long matchaGoBool(boolean a);

Callers 1

GoValueMethod · 0.95

Calls 1

matchaGoArrayMethod · 0.95

Tested by

no test coverage detected