| Interface | Description |
|---|---|
| FunctionInvoker |
An interface that is used to invoke a native function with a specific
return type, and convert that return type to a ruby object.
|
| JITMethodGenerator | |
| ParameterMarshaller |
Converts a ruby parameter into a native argument.
|
| Class | Description |
|---|---|
| AbstractNumericMethodGenerator | |
| AllocatedNativeMemoryIO | |
| AllocatedNativeMemoryIO.AllocationGroup |
Holder for a group of memory allocations.
|
| AllocatedNativeMemoryIO.MemoryAllocation |
Represents a single native memory allocation
|
| AsmClassBuilder | |
| AsmClassBuilder.JITClassLoader | |
| BoundedNativeMemoryIO | |
| BufferNativeInvoker |
Invokes a native function using InvocationBuffer methods.
|
| CachingNativeMemoryAllocator | |
| CachingNativeMemoryAllocator.AllocatedMemoryIO | |
| CachingNativeMemoryAllocator.AllocationGroup | |
| CachingNativeMemoryAllocator.Allocator | |
| CachingNativeMemoryAllocator.Bucket | |
| CachingNativeMemoryAllocator.Magazine | |
| CachingNativeMemoryAllocator.MemoryAllocation | |
| CallbackManager |
Manages Callback instances for the low level FFI backend.
|
| CallbackManager.SingletonHolder |
Holder for the single instance of CallbackManager
|
| CallbackMemoryIO |
An implementation of MemoryIO that throws exceptions on any attempt to read/write
the callback memory area (which is code).
|
| CodeMemoryIO |
Representation of code (executable) memory blocks
|
| DataConverters | |
| DataConverters.CallbackDataConverter | |
| DataConverters.ChainedDataConverter | |
| DataConverters.IntOrEnumConverter | |
| DataConverters.MappedDataConverter | |
| DefaultMethod | |
| DefaultMethodFactory | |
| DefaultMethodFactory.BaseInvoker | |
| DefaultMethodFactory.BooleanInvoker |
Invokes the native function with a boolean return value.
|
| DefaultMethodFactory.BooleanMarshaller |
Converts a ruby Boolean into an 32 bit native integer.
|
| DefaultMethodFactory.BufferMarshaller |
Converts a ruby Buffer into a native address.
|
| DefaultMethodFactory.ConvertingInvoker |
Invokes the native function, then passes the return value off to a
conversion method to massage it to a custom ruby type.
|
| DefaultMethodFactory.ConvertingMarshaller | |
| DefaultMethodFactory.Float32Invoker |
Invokes the native function with a 32 bit float return value.
|
| DefaultMethodFactory.Float32Marshaller |
Converts a ruby Float into a 32 bit native float.
|
| DefaultMethodFactory.Float64Invoker |
Invokes the native function with a 64 bit float return value.
|
| DefaultMethodFactory.Float64Marshaller |
Converts a ruby Float into a 64 bit native float.
|
| DefaultMethodFactory.NonSessionMarshaller | |
| DefaultMethodFactory.Pointer32Invoker |
Invokes the native function with a native pointer return value.
|
| DefaultMethodFactory.Pointer64Invoker |
Invokes the native function with a native pointer return value.
|
| DefaultMethodFactory.PointerParameterMarshaller | |
| DefaultMethodFactory.Signed16Invoker |
Invokes the native function with n signed 8 bit integer return value.
|
| DefaultMethodFactory.Signed16Marshaller |
Converts a ruby Fixnum into a 16 bit native signed integer.
|
| DefaultMethodFactory.Signed32Invoker |
Invokes the native function with a 32 bit integer return value.
|
| DefaultMethodFactory.Signed32Marshaller |
Converts a ruby Fixnum into a 32 bit native signed integer.
|
| DefaultMethodFactory.Signed64Invoker |
Invokes the native function with a 64 bit integer return value.
|
| DefaultMethodFactory.Signed64Marshaller |
Converts a ruby Fixnum into a 64 bit native signed integer.
|
| DefaultMethodFactory.Signed8Invoker |
Invokes the native function with n signed 8 bit integer return value.
|
| DefaultMethodFactory.Signed8Marshaller |
Converts a ruby Fixnum into an 8 bit native integer.
|
| DefaultMethodFactory.SingletonHolder | |
| DefaultMethodFactory.StringInvoker |
Invokes the native function with a native string return value.
|
| DefaultMethodFactory.StringMarshaller |
Converts a ruby String into a native pointer.
|
| DefaultMethodFactory.StructByValueInvoker |
Invokes the native function with a native struct return value.
|
| DefaultMethodFactory.StructByValueMarshaller |
Converts a ruby String into a native pointer.
|
| DefaultMethodFactory.Unsigned16Invoker |
Invokes the native function with an unsigned 32 bit integer return value.
|
| DefaultMethodFactory.Unsigned16Marshaller |
Converts a ruby Fixnum into a 16 bit native unsigned integer.
|
| DefaultMethodFactory.Unsigned32Invoker |
Invokes the native function with an unsigned 32 bit integer return value.
|
| DefaultMethodFactory.Unsigned32Marshaller |
Converts a ruby Fixnum into a 32 bit native unsigned integer.
|
| DefaultMethodFactory.Unsigned64Invoker |
Invokes the native function with a 64 bit unsigned integer return value.
|
| DefaultMethodFactory.Unsigned64Marshaller |
Converts a ruby Fixnum into a 64 bit native unsigned integer.
|
| DefaultMethodFactory.Unsigned8Invoker |
Invokes the native function with an unsigned 8 bit integer return value.
|
| DefaultMethodFactory.Unsigned8Marshaller |
Converts a ruby Fixnum into an 8 bit native unsigned integer.
|
| DefaultMethodFactory.VoidInvoker |
Invokes the native function with no return type, and returns nil to ruby.
|
| DelegatingPointerParameterStrategy | |
| DynamicLibrary | |
| DynamicLibrary.DataSymbolMemoryIO |
Small MemoryIO wrapper class to keep the library alive
|
| DynamicLibrary.Symbol | |
| DynamicLibrary.TextSymbolMemoryIO |
Since the text area of a dynamic library is usually not readable nor writable,
wrap the address in a MemoryIO instance that throws an exception on all accesses
|
| Factory | |
| Factory.LastError | |
| FastIntMethodGenerator | |
| FastLongMethodGenerator | |
| FastNumericMethodGenerator | |
| FFIUtil |
Some utility functions for FFI <=> jffi conversions
|
| Function | |
| Invocation |
An invocation session.
|
| InvokeDynamic | |
| JFFIInvoker | |
| JITCompiler | |
| JITCompiler.HandleRef | |
| JITCompiler.SingletonHolder | |
| JITHandle | |
| JITNativeInvoker | |
| JITRuntime | |
| JITSignature | |
| MemoryIOParameterStrategy | |
| MemoryObjectParameterStrategy | |
| MethodFactory |
Common method factory definitions
|
| NativeCallbackFactory | |
| NativeCallbackPointer |
Wrapper around the native callback, to represent it as a ruby object
|
| NativeClosureProxy |
Wraps a ruby proc in a JFFI Closure
|
| NativeDataConverter | |
| NativeFinalizer | |
| NativeFinalizer.SingletonHolder | |
| NativeFunctionInfo |
Holds information for creating JFFI functions
|
| NativeInvoker | |
| NativeMemoryIO | |
| NativeStringHandle | |
| NilPointerParameterStrategy | |
| NilPointerParameterStrategy.NullMemoryIO | |
| PointerParameterStrategy | |
| Signature |
A native function signature
|
| StringParameterStrategy | |
| TransientNativeMemoryIO | |
| TransientNativeMemoryIO.Magazine |
Holder for a group of memory allocations.
|
| VariadicInvoker |
| Exception | Description |
|---|---|
| InvokeDynamic.IndyNotSupportedException |