jnr.ffi.provider
Class BadType

java.lang.Object
  extended by jnr.ffi.provider.BadType
All Implemented Interfaces:
Type

public final class BadType
extends Object
implements Type


Constructor Summary
BadType(String typeName)
           
 
Method Summary
 int alignment()
          The native alignment of this type, in bytes
 NativeType getNativeType()
          The native type of this type
 int size()
          The size in bytes of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BadType

public BadType(String typeName)
Method Detail

alignment

public final int alignment()
Description copied from interface: Type
The native alignment of this type, in bytes

Specified by:
alignment in interface Type
Returns:
An integer

size

public final int size()
Description copied from interface: Type
The size in bytes of this type.

Specified by:
size in interface Type
Returns:
An integer

getNativeType

public NativeType getNativeType()
Description copied from interface: Type
The native type of this type

Specified by:
getNativeType in interface Type
Returns:
the native type of this type


Copyright © 2012. All Rights Reserved.