MCPcopy Create free account
hub / github.com/java-native-access/jna / TestStructure

Class TestStructure

test/com/sun/jna/CallbacksTest.java:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97 }
98 public static class TestStructure extends Structure {
99 public static class ByValue extends TestStructure implements Structure.ByValue { }
100 public static interface TestCallback extends Callback {
101 TestStructure.ByValue callback(TestStructure.ByValue s);
102 }
103
104 public static final List<String> FIELDS = createFieldsOrder("c", "s", "i", "j", "inner");
105 public byte c;
106 public short s;
107 public int i;
108 public long j;
109 public SmallTestStructure inner;
110 @Override
111 protected List<String> getFieldOrder() {
112 return FIELDS;
113 }
114 }
115 public static interface TestLibrary extends Library {
116 interface NoMethodCallback extends Callback {
117 }

Callers

nothing calls this directly

Calls 1

createFieldsOrderMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…