com.kenai.jffi
Class Struct

java.lang.Object
  extended by com.kenai.jffi.Type
      extended by com.kenai.jffi.Aggregate
          extended by com.kenai.jffi.Struct

public final class Struct
extends Aggregate

Describes the layout of a C struct


Field Summary
 
Fields inherited from class com.kenai.jffi.Type
align, DOUBLE, FLOAT, handle, LONGDOUBLE, POINTER, SCHAR, SINT, SINT16, SINT32, SINT64, SINT8, size, SLONG, SSHORT, type, UCHAR, UINT, UINT16, UINT32, UINT64, UINT8, ULONG, USHORT, VOID
 
Constructor Summary
Struct(Type... fields)
          Creates a new C struct layout description.
 
Method Summary
 
Methods inherited from class com.kenai.jffi.Aggregate
finalize
 
Methods inherited from class com.kenai.jffi.Type
alignment, equals, hashCode, size, type
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct

public Struct(Type... fields)
Creates a new C struct layout description.

Parameters:
fields - The fields contained in the struct.