| Package | Description |
|---|---|
| org.jruby.ext.ffi.jffi |
| Modifier and Type | Class and Description |
|---|---|
private static class |
DefaultMethodFactory.BaseInvoker |
private static class |
DefaultMethodFactory.BooleanInvoker
Invokes the native function with a boolean return value.
|
private static class |
DefaultMethodFactory.ConvertingInvoker
Invokes the native function, then passes the return value off to a
conversion method to massage it to a custom ruby type.
|
private static class |
DefaultMethodFactory.Float32Invoker
Invokes the native function with a 32 bit float return value.
|
private static class |
DefaultMethodFactory.Float64Invoker
Invokes the native function with a 64 bit float return value.
|
private static class |
DefaultMethodFactory.Pointer32Invoker
Invokes the native function with a native pointer return value.
|
private static class |
DefaultMethodFactory.Pointer64Invoker
Invokes the native function with a native pointer return value.
|
private static class |
DefaultMethodFactory.Signed16Invoker
Invokes the native function with n signed 8 bit integer return value.
|
private static class |
DefaultMethodFactory.Signed32Invoker
Invokes the native function with a 32 bit integer return value.
|
private static class |
DefaultMethodFactory.Signed64Invoker
Invokes the native function with a 64 bit integer return value.
|
private static class |
DefaultMethodFactory.Signed8Invoker
Invokes the native function with n signed 8 bit integer return value.
|
private static class |
DefaultMethodFactory.StringInvoker
Invokes the native function with a native string return value.
|
private static class |
DefaultMethodFactory.StructByValueInvoker
Invokes the native function with a native struct return value.
|
private static class |
DefaultMethodFactory.Unsigned16Invoker
Invokes the native function with an unsigned 32 bit integer return value.
|
private static class |
DefaultMethodFactory.Unsigned32Invoker
Invokes the native function with an unsigned 32 bit integer return value.
|
private static class |
DefaultMethodFactory.Unsigned64Invoker
Invokes the native function with a 64 bit unsigned integer return value.
|
private static class |
DefaultMethodFactory.Unsigned8Invoker
Invokes the native function with an unsigned 8 bit integer return value.
|
private static class |
DefaultMethodFactory.VoidInvoker
Invokes the native function with no return type, and returns nil to ruby.
|
| Modifier and Type | Field and Description |
|---|---|
private FunctionInvoker |
BufferNativeInvoker.functionInvoker |
private FunctionInvoker |
VariadicInvoker.functionInvoker |
static FunctionInvoker |
DefaultMethodFactory.VoidInvoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.BooleanInvoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Signed8Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Unsigned8Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Signed16Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Unsigned16Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Signed32Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Unsigned32Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Signed64Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Unsigned64Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Float32Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Float64Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Pointer32Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.Pointer64Invoker.INSTANCE |
static FunctionInvoker |
DefaultMethodFactory.StringInvoker.INSTANCE |
private FunctionInvoker |
DefaultMethodFactory.ConvertingInvoker.nativeInvoker |
| Modifier and Type | Method and Description |
|---|---|
(package private) static FunctionInvoker |
DefaultMethodFactory.getFunctionInvoker(NativeType returnType) |
(package private) static FunctionInvoker |
DefaultMethodFactory.getFunctionInvoker(Type returnType) |
| Constructor and Description |
|---|
BufferNativeInvoker(RubyModule implementationClass,
com.kenai.jffi.Function function,
Signature signature,
FunctionInvoker functionInvoker,
ParameterMarshaller[] parameterMarshallers) |
ConvertingInvoker(FunctionInvoker nativeInvoker,
NativeDataConverter converter) |
VariadicInvoker(Ruby runtime,
IRubyObject klazz,
Pointer address,
FunctionInvoker functionInvoker,
com.kenai.jffi.Type returnType,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean saveError) |