Uses of Class
org.jruby.ext.ffi.Type
Packages that use Type
-
Uses of Type in org.jruby.ext.ffi
Subclasses of Type in org.jruby.ext.ffiModifier and TypeClassDescriptionclassDefines a C callback's parameters and return type.final classA type which represents a conversion to/from a native type.final classfinal classDefines the memory layout for a native structure.static final classstatic final classFields in org.jruby.ext.ffi declared as TypeModifier and TypeFieldDescriptionprivate final TypeType.Array.componentTypeprotected final Type[]CallbackInfo.parameterTypesprivate final TypeMappedType.realTypeprotected final TypeCallbackInfo.returnTypeprivate TypeStructLayout.Field.typeTheTypeof this field.(package private) final TypeStructLayout.Member.typeTheTypeof this member.Fields in org.jruby.ext.ffi with type parameters of type TypeMethods in org.jruby.ext.ffi that return TypeModifier and TypeMethodDescription(package private) final TypeStructLayout.Field.checkType(IRubyObject type) final TypeStructLayout.Field.ffiType()final TypeTypeResolver.findType(Ruby runtime, IRubyObject name) final TypeTypeResolver.findType(Ruby runtime, IRubyObject name, IRubyObject typeMap) static TypeUtil.findType(ThreadContext context, IRubyObject name) static TypeUtil.findType(ThreadContext context, IRubyObject name, IRubyObject typeMap) final TypeType.Array.getComponentType()final Type[]CallbackInfo.getParameterTypes()Gets the ruby parameter types of the callbackfinal TypeMappedType.getRealType()final TypeCallbackInfo.getReturnType()Gets the native return type the callback should returnprivate TypeTypeResolver.lookupAndCacheType(Ruby runtime, RubySymbol name, IRubyObject typeMap) private TypeTypeResolver.lookupType(Ruby runtime, IRubyObject name, IRubyObject typeMap) final TypeStructLayout.Member.type()Methods in org.jruby.ext.ffi with parameters of type TypeModifier and TypeMethodDescriptionstatic MemoryOpMemoryOp.getMemoryOp(Type type) static MemoryOpMemoryOp.getMemoryOp(Type type, ByteOrder order) Constructors in org.jruby.ext.ffi with parameters of type TypeModifierConstructorDescriptionInitializes a new Type.Array instance.Initializes a new Type.Array instance.CallbackInfo(Ruby runtime, RubyClass klazz, Type returnType, Type[] paramTypes, boolean stdcall) Creates a new CallbackInfo instance.(package private)Field(Ruby runtime, RubyClass klass, Type type, int offset, StructLayout.FieldIO io) privateMappedType(Ruby runtime, RubyClass klass, Type nativeType, IRubyObject converter, boolean isRefererenceRequired) (package private)NumberFieldIO(Type type, ByteOrder order) -
Uses of Type in org.jruby.ext.ffi.jffi
Fields in org.jruby.ext.ffi.jffi declared as TypeModifier and TypeFieldDescriptionprivate final Type[]JFFIInvoker.parameterTypes(package private) final Type[]NativeFunctionInfo.parameterTypesprivate final Type[]Signature.parameterTypesprivate final TypeSignature.resultTypeprivate final TypeJFFIInvoker.returnType(package private) final TypeNativeFunctionInfo.returnTypeMethods in org.jruby.ext.ffi.jffi that return TypeModifier and TypeMethodDescriptionSignature.getParameterType(int parameterIndex) Signature.getResultType()Methods in org.jruby.ext.ffi.jffi with parameters of type TypeModifier and TypeMethodDescriptionprivate static com.kenai.jffi.TypeFFIUtil.cacheFFIType(Type type) static final DynamicMethodMethodFactory.createDynamicMethod(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) (package private) DynamicMethodDefaultMethodFactory.createMethod(RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreError) (package private) abstract DynamicMethodMethodFactory.createMethod(RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) private static final IRubyObjectNativeClosureProxy.fromNative(Ruby runtime, Type type, com.kenai.jffi.Closure.Buffer buffer, int index) Converts a native value into a ruby object.(package private) static ParameterMarshallerDefaultMethodFactory.getEnumMarshaller(Type type, com.kenai.jffi.CallingConvention convention, IRubyObject enums) Gets a marshaller to convert from a ruby type to a native type.(package private) static final com.kenai.jffi.TypeFFIUtil.getFFIType(Type type) (package private) static FunctionInvokerDefaultMethodFactory.getFunctionInvoker(Type returnType) (package private) static ParameterMarshallerDefaultMethodFactory.getMarshaller(Type type, com.kenai.jffi.CallingConvention convention, IRubyObject enums) Gets a marshaller to convert from a ruby type to a native type.(package private) static NativeDataConverterDataConverters.getParameterConverter(Type type) (package private) static NativeDataConverterDataConverters.getParameterConverter(Type type, Enums enums) (package private) static NativeDataConverterDataConverters.getParameterConverter(Type type, RubyHash enums) Deprecated.(package private) static NativeDataConverterDataConverters.getResultConverter(Type type) (package private) static booleanDataConverters.isEnumConversionRequired(Type type, Enums enums) (package private) static booleanDataConverters.isEnumConversionRequired(Type type, RubyHash enums) Deprecated.private static final booleanNativeCallbackFactory.isParameterTypeValid(Type type) Checks if a type is a valid parameter type for a callbackprivate static final booleanNativeCallbackFactory.isReturnTypeValid(Type type) Checks if a type is a valid callback return type(package private) booleanDefaultMethodFactory.isSupported(Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) (package private) abstract booleanMethodFactory.isSupported(Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) (package private) final CallbackMemoryIOCallbackManager.newClosure(Ruby runtime, Type returnType, Type[] parameterTypes, Object proc, com.kenai.jffi.CallingConvention convention) private static ParameterMarshallerDefaultMethodFactory.newConvertingMarshallerWithHash(Type type, com.kenai.jffi.CallingConvention convention, IRubyObject enums, MappedType ctype) private voidJITCompiler.setParameterConverterWithTypeAndSignature(Signature signature, boolean[] hasParameterConverter, int i, Type parameterType) private static final voidNativeClosureProxy.setReturnValue(Ruby runtime, Type type, com.kenai.jffi.Closure.Buffer buffer, IRubyObject value) Converts a ruby return value into a native callback return value.Constructors in org.jruby.ext.ffi.jffi with parameters of type TypeModifierConstructorDescription(package private)Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean saveError) (package private)JFFIInvoker(Ruby runtime, long address, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) (package private)JFFIInvoker(Ruby runtime, RubyClass klass, MemoryIO fptr, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums) NativeFunctionInfo(Ruby runtime, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) Signature(Type resultType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, boolean ignoreError, RubyHash enums)