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

Method autoWrite

src/com/sun/jna/Structure.java:2352–2364  ·  view source on GitHub ↗
(Structure[] ss)

Source from the content-addressed store, hash-verified

2350 }
2351
2352 public static void autoWrite(Structure[] ss) {
2353 structureArrayCheck(ss);
2354 if (ss[0].array == ss) {
2355 ss[0].autoWrite();
2356 }
2357 else {
2358 for (int si=0;si < ss.length;si++) {
2359 if (ss[si] != null) {
2360 ss[si].autoWrite();
2361 }
2362 }
2363 }
2364 }
2365
2366 public void autoWrite() {
2367 if (getAutoWrite()) {

Callers 3

setValueMethod · 0.95
convertArgumentMethod · 0.95
invokeCallbackMethod · 0.80

Calls 3

structureArrayCheckMethod · 0.95
getAutoWriteMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected