Uses of Class
com.kenai.jffi.Type
Packages that use Type
-
Uses of Type in com.kenai.jffi
Subclasses of Type in com.kenai.jffiModifier and TypeClassDescriptionclassfinal classDescribes the layout of a C arrayfinal classDescribes the layout of a C struct(package private) static final classTypes that are built-in to libffi.final classDescribes the layout of a C unionFields in com.kenai.jffi declared as TypeModifier and TypeFieldDescriptionstatic final TypeType.DOUBLEThe native double typeprivate final TypeArray.elementTypeprivate final Type[]Struct.fieldsprivate final Type[]Union.fieldsstatic final TypeType.FLOATThe native float typestatic final TypeType.LONGDOUBLEThe native long double type(package private) final Type[]CallContext.parameterTypesThe parameter types of this functionprivate final Type[]CallContextCache.Signature.parameterTypesstatic final TypeType.POINTERThe native memory address type(package private) final TypeCallContext.returnTypeThe return type of this functionprivate final TypeCallContextCache.Signature.returnTypeKeep references to the return and parameter types so they do not get garbage collected until the closure does.static final TypeType.SCHARThe native signed char typestatic final TypeType.SINTThe native signed integer typestatic final TypeType.SINT16The native signed 16 bit integer typestatic final TypeType.SINT32The native signed 32 bit integer typestatic final TypeType.SINT64The native signed 64 bit integer typestatic final TypeType.SINT8The native signed 8 bit integer typestatic final TypeType.SLONGThe native signed long integer typestatic final TypeType.SLONG_LONGThe native signed long long integer typestatic final TypeType.SSHORTThe native signed short integer typestatic final TypeType.UCHARThe native unsigned char typestatic final TypeType.UINTThe native unsigned integer typestatic final TypeType.UINT16The native unsigned 16 bit integer typestatic final TypeType.UINT32The native unsigned 32 bit integer typestatic final TypeType.UINT64The native unsigned 64 bit integer typestatic final TypeType.UINT8The native unsigned 8 bit integer typestatic final TypeType.ULONGThe native unsigned long integer typestatic final TypeType.ULONG_LONGThe native unsigned long long integer typestatic final TypeType.USHORTThe native unsigned short integer typestatic final TypeType.VOIDThe native void typeFields in com.kenai.jffi with type parameters of type TypeModifier and TypeFieldDescriptionStruct.StructReference.fieldsListprivate static final Map<List<Type>, Struct.StructReference> Struct.structCacheMethods in com.kenai.jffi that return TypeModifier and TypeMethodDescriptionprivate static TypeType.builtin(NativeType nativeType) Creates aTypeinstance for builtin types.final TypeArray.getElementType()Returns the type of elements in the arrayfinal TypeCallContext.getParameterType(int index) Gets the type of a parameter.final TypeFunction.getParameterType(int index) Gets the type of a parameter.final TypeCallContext.getReturnType()Gets the native return type of this function.final TypeFunction.getReturnType()Gets the native return type of this function.Methods in com.kenai.jffi with parameters of type TypeModifier and TypeMethodDescriptionprivate 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) final CallContextCallContextCache.getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) final CallContextCallContextCache.getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) final CallContextCallContextCache.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention) final CallContextCallContextCache.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) final 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 ArrayCreates a new C array layout description.final Closure.HandleClosureManager.newClosure(Closure closure, Type returnType, Type[] parameterTypes, CallingConvention convention) Wraps a java object that implements theClosureinterface in a native closure.static Structstatic UnionMethod parameters in com.kenai.jffi with type arguments of type TypeModifier and TypeMethodDescription(package private) static long[]Type.nativeHandles(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 TypeModifierConstructorDescriptionCreates a new C array layout description.(package private)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.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) privateCreates a new C struct layout description.Deprecated.Creates a new C union layout description.Constructor parameters in com.kenai.jffi with type arguments of type TypeModifierConstructorDescriptionprivateStructReference(Struct struct, ReferenceQueue<? super Struct> referenceQueue, List<Type> fieldsList)