Uses of Class
com.kenai.jffi.Type
-
Packages that use Type Package Description com.kenai.jffi -
-
Uses of Type in com.kenai.jffi
Subclasses of Type in com.kenai.jffi Modifier and Type Class Description class
Aggregate
class
Array
Describes the layout of a C arrayclass
Struct
Describes the layout of a C structclass
Union
Describes the layout of a C unionFields in com.kenai.jffi declared as Type Modifier and Type Field Description static Type
Type. DOUBLE
The native double typestatic Type
Type. FLOAT
The native float typestatic Type
Type. LONGDOUBLE
The native long double typestatic Type
Type. POINTER
The native memory address typestatic Type
Type. SCHAR
The native signed char typestatic Type
Type. SINT
The native signed integer typestatic Type
Type. SINT16
The native signed 16 bit integer typestatic Type
Type. SINT32
The native signed 32 bit integer typestatic Type
Type. SINT64
The native signed 64 bit integer typestatic Type
Type. SINT8
The native signed 8 bit integer typestatic Type
Type. SLONG
The native signed long integer typestatic Type
Type. SLONG_LONG
The native signed long long integer typestatic Type
Type. SSHORT
The native signed short integer typestatic Type
Type. UCHAR
The native unsigned char typestatic Type
Type. UINT
The native unsigned integer typestatic Type
Type. UINT16
The native unsigned 16 bit integer typestatic Type
Type. UINT32
The native unsigned 32 bit integer typestatic Type
Type. UINT64
The native unsigned 64 bit integer typestatic Type
Type. UINT8
The native unsigned 8 bit integer typestatic Type
Type. ULONG
The native unsigned long integer typestatic Type
Type. ULONG_LONG
The native unsigned long long integer typestatic Type
Type. USHORT
The native unsigned short integer typestatic Type
Type. VOID
The native void typeMethods in com.kenai.jffi that return Type Modifier and Type Method Description Type
Array. getElementType()
Returns the type of elements in the arrayType
CallContext. getParameterType(int index)
Gets the type of a parameter.Type
Function. getParameterType(int index)
Gets the type of a parameter.Type
CallContext. getReturnType()
Gets the native return type of this function.Type
Function. getReturnType()
Gets the native return type of this function.Methods in com.kenai.jffi with parameters of type Type Modifier and Type Method Description static CallContext
CallContext. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)
Returns aCallContext
instance.static CallContext
CallContext. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
CallContext
CallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention)
CallContext
CallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)
CallContext
CallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
static Array
Array. newArray(Type elementType, int length)
Creates a new C array layout description.Closure.Handle
ClosureManager. newClosure(Closure closure, Type returnType, Type[] parameterTypes, CallingConvention convention)
Wraps a java object that implements theClosure
interface in a native closure.static Struct
Struct. newStruct(Type... fields)
static Union
Union. newUnion(Type... fields)
Constructors in com.kenai.jffi with parameters of type Type Constructor Description Array(Type elementType, int length)
Creates a new C array layout description.CallContext(Type returnType, Type... parameterTypes)
Creates a new instance of Function with default calling convention.CallContext(Type returnType, Type[] parameterTypes, CallingConvention convention)
Creates a new instance of Function.CallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)
Function(long address, Type returnType, Type... paramTypes)
Creates a new instance of Function with default calling convention.Function(long address, Type returnType, Type[] paramTypes, CallingConvention convention)
Creates a new instance of Function.Function(long address, Type returnType, Type[] paramTypes, CallingConvention convention, boolean saveErrno)
Creates a new instance of Function.Struct(Type... fields)
Deprecated.Union(Type... fields)
Creates a new C union layout description.
-