| Package | Description |
|---|---|
| org.jruby.ext.ffi | |
| org.jruby.ext.ffi.jffi |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInvoker
A native function invoker
|
class |
AutoPointer |
class |
MemoryPointer |
| Modifier and Type | Field and Description |
|---|---|
Pointer |
FFI.nullPointer |
private Pointer |
Pointer.NilToPointerMethod.nullPointer |
private Pointer |
AutoPointer.pointer |
(package private) Pointer |
AutoPointer.Reaper.pointer |
| Modifier and Type | Method and Description |
|---|---|
abstract Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
static Pointer |
Pointer.getNull(Ruby runtime) |
protected abstract Pointer |
AbstractMemory.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Buffer.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Pointer.getPointer(Ruby runtime,
long offset) |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractInvoker |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
AbstractInvoker |
NoImplFactory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
private void |
AbstractMemory.putPointer(ThreadContext context,
long offset,
Pointer value) |
| Constructor and Description |
|---|
NilToPointerMethod(RubyModule implementationClass,
Pointer nullPointer) |
Reaper(Pointer ptr,
IRubyObject proc,
CachingCallSite callSite) |
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicLibrary.Symbol |
class |
Function |
class |
JFFIInvoker |
(package private) class |
NativeCallbackPointer
Wrapper around the native callback, to represent it as a ruby object
|
| Modifier and Type | Field and Description |
|---|---|
private Pointer |
VariadicInvoker.address |
private Pointer |
CodeMemoryIO.pointer |
| Modifier and Type | Method and Description |
|---|---|
Pointer |
NativeCallbackFactory.getCallback(IRubyObject callable,
CachingCallSite callSite) |
Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
Pointer |
NativeCallbackFactory.getCallback(RubyObject callable) |
private Pointer |
NativeCallbackFactory.getCallbackPointer(IRubyObject callable,
CachingCallSite callSite) |
| Modifier and Type | Method and Description |
|---|---|
Function |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
| Constructor and Description |
|---|
CodeMemoryIO(Ruby runtime,
Pointer pointer) |
VariadicInvoker(Ruby runtime,
IRubyObject klazz,
Pointer address,
FunctionInvoker functionInvoker,
com.kenai.jffi.Type returnType,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean saveError) |