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 |
---|---|
protected AbstractMemory |
StructLayout.ArrayProxy.ptr |
Modifier and Type | Method and Description |
---|---|
AbstractMemory |
Struct.getMemory() |
AbstractMemory |
Pointer.order(Ruby runtime,
ByteOrder order) |
AbstractMemory |
Buffer.order(Ruby runtime,
ByteOrder order) |
abstract AbstractMemory |
AbstractMemory.order(Ruby runtime,
ByteOrder order) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset,
long size) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset,
long size) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
StructLayout.Member.get(ThreadContext context,
StructLayout.Storage cache,
AbstractMemory ptr)
Reads a ruby value from the struct member.
|
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.
|
Modifier and Type | Class and Description |
---|---|
static class |
DynamicLibrary.Symbol |
class |
Function |
class |
JFFIInvoker |
Copyright © 2001-2015 JRuby. All Rights Reserved.