public final class JNASupport
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clearStructureMemory(com.sun.jna.Structure... structures)
Clear the memory of the given
Structure instances. |
static java.util.List<java.lang.String> |
structureFieldOrder(java.lang.Class<? extends com.sun.jna.Structure> structure)
Deduce the JNA
Structure subclass field order from the class itself
via reflection. |
public static java.util.List<java.lang.String> structureFieldOrder(java.lang.Class<? extends com.sun.jna.Structure> structure)
Structure subclass field order from the class itself
via reflection.structure - The structure for which the field order is to be dedudedpublic static void clearStructureMemory(com.sun.jna.Structure... structures)
Structure instances.structures - the structures to have their memory clearedStructure.clear()