com.kenai.jffi
Class Aggregate
java.lang.Object
com.kenai.jffi.Type
com.kenai.jffi.Aggregate
- Direct Known Subclasses:
- Array, Struct, Union
public abstract class Aggregate
- extends Type
| Fields inherited from class com.kenai.jffi.Type |
DOUBLE, FLOAT, LONGDOUBLE, POINTER, SCHAR, SINT, SINT16, SINT32, SINT64, SINT8, SLONG, SLONG_LONG, SSHORT, UCHAR, UINT, UINT16, UINT32, UINT64, UINT8, ULONG, ULONG_LONG, USHORT, VOID |
|
Method Summary |
int |
alignment()
Gets the alignment of this type. |
void |
dispose()
|
protected void |
finalize()
|
int |
size()
Gets the size of this type. |
int |
type()
Gets the FFI type enum value for this Type |
type
public final int type()
- Description copied from class:
Type
- Gets the FFI type enum value for this Type
- Specified by:
type in class Type
- Returns:
- An integer representing the FFI type.
size
public final int size()
- Description copied from class:
Type
- Gets the size of this type.
- Specified by:
size in class Type
- Returns:
- The size of this type, in bytes.
alignment
public final int alignment()
- Description copied from class:
Type
- Gets the alignment of this type.
- Specified by:
alignment in class Type
- Returns:
- The alignment of this type, in bytes.
dispose
public final void dispose()
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize in class Object
- Throws:
Throwable
Copyright © 2012. All Rights Reserved.