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
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
 
Constructor Summary
Struct(Type... fields)
          Deprecated. 
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
static Struct newStruct(Type... fields)
           
 
Methods inherited from class com.kenai.jffi.Aggregate
alignment, dispose, finalize, size, type
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct

@Deprecated
public Struct(Type... fields)
Deprecated. 

Creates a new C struct layout description.

Parameters:
fields - The fields contained in the struct.
Method Detail

newStruct

public static Struct newStruct(Type... fields)

equals

public boolean equals(Object o)
Overrides:
equals in class Type

hashCode

public int hashCode()
Overrides:
hashCode in class Type


Copyright © 2012. All Rights Reserved.