Class NativeRuntime.TypeDelegate

java.lang.Object
jnr.ffi.Type
jnr.ffi.provider.jffi.NativeRuntime.TypeDelegate
Enclosing class:
NativeRuntime

private static final class NativeRuntime.TypeDelegate extends Type
  • Field Details

    • type

      private final com.kenai.jffi.Type type
    • nativeType

      private final NativeType nativeType
  • Constructor Details

    • TypeDelegate

      public TypeDelegate(com.kenai.jffi.Type type, NativeType nativeType)
  • Method Details

    • alignment

      public int alignment()
      Description copied from class: Type
      The native alignment of this type, in bytes
      Specified by:
      alignment in class Type
      Returns:
      An integer
    • size

      public int size()
      Description copied from class: Type
      The size in bytes of this type.
      Specified by:
      size in class Type
      Returns:
      An integer
    • getNativeType

      public NativeType getNativeType()
      Description copied from class: Type
      The native type of this type
      Specified by:
      getNativeType in class Type
      Returns:
      the native type of this type
    • toString

      public String toString()
      Overrides:
      toString in class Object