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 classAggregateclassArrayDescribes the layout of a C arrayclassStructDescribes the layout of a C struct(package private) static classType.BuiltinTypes that are built-in to libffi.classUnionDescribes the layout of a C unionFields in com.kenai.jffi declared as Type Modifier and Type Field Description static TypeType. DOUBLEThe native double typeprivate TypeArray. elementTypeprivate Type[]Struct. fieldsprivate Type[]Union. fieldsstatic TypeType. FLOATThe native float typestatic TypeType. LONGDOUBLEThe native long double type(package private) Type[]CallContext. parameterTypesThe parameter types of this functionprivate Type[]CallContextCache.Signature. parameterTypesstatic TypeType. POINTERThe native memory address type(package private) TypeCallContext. returnTypeThe return type of this functionprivate TypeCallContextCache.Signature. returnTypeKeep references to the return and parameter types so they do not get garbage collected until the closure does.static TypeType. SCHARThe native signed char typestatic TypeType. SINTThe native signed integer typestatic TypeType. SINT16The native signed 16 bit integer typestatic TypeType. SINT32The native signed 32 bit integer typestatic TypeType. SINT64The native signed 64 bit integer typestatic TypeType. SINT8The native signed 8 bit integer typestatic TypeType. SLONGThe native signed long integer typestatic TypeType. SLONG_LONGThe native signed long long integer typestatic TypeType. SSHORTThe native signed short integer typestatic TypeType. UCHARThe native unsigned char typestatic TypeType. UINTThe native unsigned integer typestatic TypeType. UINT16The native unsigned 16 bit integer typestatic TypeType. UINT32The native unsigned 32 bit integer typestatic TypeType. UINT64The native unsigned 64 bit integer typestatic TypeType. UINT8The native unsigned 8 bit integer typestatic TypeType. ULONGThe native unsigned long integer typestatic TypeType. ULONG_LONGThe native unsigned long long integer typestatic TypeType. USHORTThe native unsigned short integer typestatic TypeType. VOIDThe native void typeFields in com.kenai.jffi with type parameters of type Type Modifier and Type Field Description (package private) java.util.List<Type>Struct.StructReference. fieldsListprivate static java.util.Map<java.util.List<Type>,Struct.StructReference>Struct. structCacheMethods in com.kenai.jffi that return Type Modifier and Type Method Description private static TypeType. builtin(NativeType nativeType)Creates aTypeinstance for builtin types.TypeArray. getElementType()Returns the type of elements in the arrayTypeCallContext. getParameterType(int index)Gets the type of a parameter.TypeFunction. getParameterType(int index)Gets the type of a parameter.TypeCallContext. getReturnType()Gets the native return type of this function.TypeFunction. getReturnType()Gets the native return type of this function.Methods in com.kenai.jffi with parameters of type Type Modifier and Type Method Description private static intHeapObjectParameterInvoker. encode(HeapInvocationBuffer.Encoder encoder, byte[] paramBuffer, int off, Type type, long n)static CallContextCallContext. getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)static CallContextCallContext. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)Returns aCallContextinstance.static CallContextCallContext. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)CallContextCallContextCache. getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)CallContextCallContextCache. getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)CallContextCallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention)CallContextCallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)CallContextCallContextCache. getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)(package private) static long[]Type. nativeHandles(Type[] types)Converts an array ofTypeobjects into an array of pointers to ffi_type structures.static ArrayArray. newArray(Type elementType, int length)Creates a new C array layout description.Closure.HandleClosureManager. newClosure(Closure closure, Type returnType, Type[] parameterTypes, CallingConvention convention)Wraps a java object that implements theClosureinterface in a native closure.static StructStruct. newStruct(Type... fields)static UnionUnion. newUnion(Type... fields)Method parameters in com.kenai.jffi with type arguments of type Type Modifier and Type Method Description (package private) static long[]Type. nativeHandles(java.util.List<Type> types)Converts a list ofTypeobjects into an array of pointers to ffi_type structures.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, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)Creates a new instance ofFunction.CallContext(Type returnType, Type... parameterTypes)Creates a new instance ofFunctionwith default calling convention.CallContext(Type returnType, Type[] parameterTypes, CallingConvention convention)Creates a new instance ofFunction.CallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)Function(long address, Type returnType, int fixedParamCount, Type[] paramTypes, CallingConvention convention, boolean saveErrno)Creates a new instance ofFunction.Function(long address, Type returnType, Type... paramTypes)Creates a new instance ofFunctionwith default calling convention.Function(long address, Type returnType, Type[] paramTypes, CallingConvention convention)Creates a new instance ofFunction.Function(long address, Type returnType, Type[] paramTypes, CallingConvention convention, boolean saveErrno)Creates a new instance ofFunction.Signature(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)Struct(Foreign foreign, Type... fields)Creates a new C struct layout description.Struct(Type... fields)Deprecated.Union(Type... fields)Creates a new C union layout description.Constructor parameters in com.kenai.jffi with type arguments of type Type Constructor Description StructReference(Struct struct, java.lang.ref.ReferenceQueue<? super Struct> referenceQueue, java.util.List<Type> fieldsList)
-