Class Type.TypeInfo

java.lang.Object
com.kenai.jffi.Type.TypeInfo
Enclosing class:
Type

static final class Type.TypeInfo extends Object
This is a lazy loaded cache of builtin type info, so we can still have Type.VOID as a public static variable without it causing the native library to load.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
    The minimum alignment of this type
    (package private) final long
    The address of this type's ffi_type structure
    (package private) final int
    The size in bytes of this type
    (package private) final int
    The FFI type of this type
  • Constructor Summary

    Constructors
    Constructor
    Description
    TypeInfo(long handle, int type, int size, int alignment)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      final int type
      The FFI type of this type
    • size

      final int size
      The size in bytes of this type
    • alignment

      final int alignment
      The minimum alignment of this type
    • handle

      final long handle
      The address of this type's ffi_type structure
  • Constructor Details

    • TypeInfo

      TypeInfo(long handle, int type, int size, int alignment)