Skip navigation links
JNA API 5.6.0
com.sun.jna

Class Structure.FFIType

  • Enclosing class:
    Structure


    @Structure.FieldOrder(value={"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.
    • Constructor Detail

      • FFIType

        public FFIType()
      • FFIType

        public FFIType(java.lang.Object array,
                       java.lang.Class<?> type)
    • Method Detail

      • get

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

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.