Package | Description |
---|---|
org.jruby.ext.ffi | |
org.jruby.ext.ffi.jffi |
Modifier and Type | Interface and Description |
---|---|
interface |
AllocatedDirectMemoryIO |
Modifier and Type | Class and Description |
---|---|
class |
FreedMemoryIO |
class |
NullMemoryIO
An implementation of MemoryIO that throws an exception on any access.
|
class |
SwappedMemoryIO |
Modifier and Type | Method and Description |
---|---|
abstract DirectMemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates transient native memory (not from C heap) and wraps it in a MemoryIO accessor.
|
DirectMemoryIO |
NoImplFactory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
DirectMemoryIO |
ArrayMemoryIO.getMemoryIO(long offset) |
DirectMemoryIO |
InvalidMemoryIO.getMemoryIO(long offset) |
DirectMemoryIO |
MemoryIO.getMemoryIO(long offset)
Reads a pointer value at the specified offset within the memory area, and
wraps it in an abstract memory accessor.
|
DirectMemoryIO |
SwappedMemoryIO.getMemoryIO(long offset) |
abstract DirectMemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address)
Wraps a native C memory address in a MemoryIO accessor.
|
DirectMemoryIO |
NoImplFactory.wrapDirectMemory(Ruby runtime,
long address) |
Constructor and Description |
---|
AbstractInvoker(Ruby runtime,
RubyClass klass,
int arity,
DirectMemoryIO io)
Creates a new AbstractInvoker instance.
|
Pointer(Ruby runtime,
DirectMemoryIO io) |
Pointer(Ruby runtime,
DirectMemoryIO io,
long size,
int typeSize) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io,
long size) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io,
long size,
int typeSize) |
Modifier and Type | Class and Description |
---|---|
class |
CodeMemoryIO
Representation of code (executable) memory blocks
|
Modifier and Type | Method and Description |
---|---|
DirectMemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
DirectMemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address) |
Constructor and Description |
---|
DynamicLibrary.Symbol(Ruby runtime,
DynamicLibrary library,
java.lang.String name,
DirectMemoryIO io) |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.