Package com.sun.jna

Class Structure.FFIType

java.lang.Object
com.sun.jna.Structure
com.sun.jna.Structure.FFIType
Enclosing class:
Structure

@FieldOrder({"size","alignment","type","elements"}) static class Structure.FFIType extends Structure
This class auto-generates an ffi_type structure appropriate for a given structure for use by libffi. The lifecycle of this structure is easier to manage on the Java side than in native code.
  • Field Details

  • Constructor Details

  • Method Details

    • get

      static Structure.FFIType get(Object obj)
      Obtain a pointer to the native FFI type descriptor for the given object.