| 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 |
Buffer |
class |
MemoryPointer |
class |
Pointer
C memory pointer operations.
|
| Modifier and Type | Field and Description |
|---|---|
private AbstractMemory |
Struct.memory |
protected AbstractMemory |
StructLayout.ArrayProxy.ptr |
| Modifier and Type | Method and Description |
|---|---|
AbstractMemory |
Struct.getMemory() |
abstract AbstractMemory |
AbstractMemory.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Buffer.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Pointer.order(Ruby runtime,
java.nio.ByteOrder order) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset,
long size) |
| Modifier and Type | Method and Description |
|---|---|
(package private) IRubyObject |
MemoryOp.get(ThreadContext context,
AbstractMemory ptr,
long offset) |
(package private) IRubyObject |
MemoryOp.StructOp.get(ThreadContext context,
AbstractMemory ptr,
long offset) |
(package private) IRubyObject |
MemoryOp.Mapped.get(ThreadContext context,
AbstractMemory ptr,
long offset) |
(package private) IRubyObject |
StructLayout.MultiDimensionArrayOp.get(ThreadContext context,
AbstractMemory ptr,
long offset) |
IRubyObject |
StructLayout.Member.get(ThreadContext context,
StructLayout.Storage cache,
AbstractMemory ptr)
Reads a ruby value from the struct member.
|
IRubyObject |
StructLayout.FieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr)
Reads a ruby value from the struct member.
|
IRubyObject |
StructLayout.DefaultFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.NumberFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.EnumFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.PointerFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.StringFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.FunctionFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.InnerStructFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.ArrayFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
IRubyObject |
StructLayout.MappedFieldIO.get(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr) |
(package private) void |
MemoryOp.put(ThreadContext context,
AbstractMemory ptr,
long offset,
IRubyObject value) |
(package private) void |
MemoryOp.StructOp.put(ThreadContext context,
AbstractMemory ptr,
long offset,
IRubyObject value) |
(package private) void |
MemoryOp.Mapped.put(ThreadContext context,
AbstractMemory ptr,
long offset,
IRubyObject value) |
void |
StructLayout.Member.put(ThreadContext context,
StructLayout.Storage cache,
AbstractMemory ptr,
IRubyObject value)
Writes a ruby value to the native struct member as the appropriate native value.
|
void |
StructLayout.FieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value)
Writes a ruby value to the native struct member as the appropriate native value.
|
void |
StructLayout.DefaultFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.NumberFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.EnumFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.PointerFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.StringFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.FunctionFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.InnerStructFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.ArrayFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
void |
StructLayout.MappedFieldIO.put(ThreadContext context,
StructLayout.Storage cache,
StructLayout.Member m,
AbstractMemory ptr,
IRubyObject value) |
| 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
|