| Modifier and Type | Field and Description |
|---|---|
| private final CallingConvention | |
| private final IRubyObject | |
| private final Function | |
| private final Type[] | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| pack-priv | JFFIInvoker(Ruby runtime, long address, Type returnType, Type[] parameterTypes, CallingConvention convention)
Deprecated
since 10.0.
|
| pack-priv | JFFIInvoker(Ruby runtime, RubyClass klass, MemoryIO fptr, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums)
|
| Modifier and Type | Method and Description |
|---|---|
| public DynamicMethod | createDynamicMethod(RubyModule
for which module module)Implements abstract org. Create a method |
| public static RubyClass | |
| public static IRubyObject |
| convention | back to summary |
|---|---|
| private final CallingConvention convention | |
| enums | back to summary |
|---|---|
| private final IRubyObject enums | |
| function | back to summary |
|---|---|
| private final Function function | |
| parameterTypes | back to summary |
|---|---|
| private final Type[] parameterTypes | |
| returnType | back to summary |
|---|---|
| private final Type returnType | |
| JFFIInvoker | back to summary |
|---|---|
| pack-priv JFFIInvoker(Ruby runtime, long address, Type returnType, Type[] parameterTypes, CallingConvention convention)
Deprecated since 10.0.
| |
| JFFIInvoker | back to summary |
|---|---|
| pack-priv JFFIInvoker(Ruby runtime, RubyClass klass, MemoryIO fptr, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums) | |
| createDynamicMethod | back to summary |
|---|---|
| public DynamicMethod createDynamicMethod(RubyModule module) Implements abstract org. Doc from org. Create a method
| |
| createInvokerClass | back to summary |
|---|---|
| public static RubyClass createInvokerClass(ThreadContext context, RubyModule FFI) | |
| newInstance | back to summary |
|---|---|
public static IRubyObject newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args)
| |