|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.ext.ffi.AbstractMemory
org.jruby.ext.ffi.Pointer
org.jruby.ext.ffi.AbstractMemoryPointer
public abstract class AbstractMemoryPointer
C memory pointer operations.
This implements the Rubinius FFI MemoryPointer class, but in java for speed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.ObjectMethods |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer, RubyBasicObject.VariableTableEntry |
Field Summary | |
---|---|
static java.lang.String |
className
The base class name to register in the Ruby runtime |
Fields inherited from class org.jruby.ext.ffi.AbstractMemory |
---|
ABSTRACT_MEMORY_RUBY_CLASS, io, offset, size |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, dataStruct, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, VARIABLE_TABLE_DEFAULT_CAPACITY, VARIABLE_TABLE_EMPTY_TABLE, VARIABLE_TABLE_LOAD_FACTOR, VARIABLE_TABLE_MAXIMUM_CAPACITY, variableTable, variableTableSize, variableTableThreshold |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
protected |
AbstractMemoryPointer(Ruby runtime,
RubyClass klass,
MemoryIO io,
long offset,
long size)
|
Method Summary | |
---|---|
IRubyObject |
autorelease(ThreadContext context,
IRubyObject release)
|
static RubyClass |
createMemoryPointerClass(Ruby runtime,
RubyModule module)
|
IRubyObject |
free(ThreadContext context)
|
Methods inherited from class org.jruby.ext.ffi.Pointer |
---|
createPointerClass, null_p |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String className
Constructor Detail |
---|
protected AbstractMemoryPointer(Ruby runtime, RubyClass klass, MemoryIO io, long offset, long size)
Method Detail |
---|
public static RubyClass createMemoryPointerClass(Ruby runtime, RubyModule module)
public IRubyObject free(ThreadContext context)
public IRubyObject autorelease(ThreadContext context, IRubyObject release)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |