Package com.kenai.jffi
Class Union
- java.lang.Object
-
- com.kenai.jffi.Type
-
- com.kenai.jffi.Aggregate
-
- com.kenai.jffi.Union
-
public final class Union extends Aggregate
Describes the layout of a C union
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
static Union
newUnion(Type... fields)
-
-
-
Constructor Detail
-
Union
public Union(Type... fields)
Creates a new C union layout description.- Parameters:
fields
- The fields contained in the union.
-
-