| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MemoryPointer | |
| public final IRubyObject | |
| public final IRubyObject | |
| public static RubyClass | |
| public final IRubyObject | |
| public static IRubyObject | |
| private final IRubyObject | init(ThreadContext context, IRubyObject rbTypeSize, int count, int align, boolean clear, Block block)
|
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject count, IRubyObject clear, Block block)
|
| public IRubyObject | op_equal(ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public final String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| MemoryPointer | back to summary |
|---|---|
| public MemoryPointer(Ruby runtime, RubyClass klass) | |
| MemoryPointer | back to summary |
|---|---|
| private MemoryPointer(Ruby runtime, IRubyObject klass, MemoryIO io, long total, int typeSize) | |
| allocate | back to summary |
|---|---|
| pack-priv static MemoryPointer allocate(Ruby runtime, int typeSize, int count, boolean clear) | |
| autorelease | back to summary |
|---|---|
public final IRubyObject autorelease(ThreadContext context, IRubyObject release)
| |
| autorelease_p | back to summary |
|---|---|
public final IRubyObject autorelease_p(ThreadContext context)
| |
| createMemoryPointerClass | back to summary |
|---|---|
| public static RubyClass createMemoryPointerClass(ThreadContext context, RubyModule FFI, RubyClass Pointer) | |
| free | back to summary |
|---|---|
public final IRubyObject free(ThreadContext context)
| |
| from_string | back to summary |
|---|---|
public static IRubyObject from_string(ThreadContext context, IRubyObject klass, IRubyObject s)
| |
| init | back to summary |
|---|---|
| private final IRubyObject init(ThreadContext context, IRubyObject rbTypeSize, int count, int align, boolean clear, Block block) | |
| initialize | back to summary |
|---|---|
public final IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, Block block)
| |
| initialize | back to summary |
|---|---|
public final IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject count, Block block)
| |
| initialize | back to summary |
|---|---|
public final IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject count, IRubyObject clear, Block block)
| |
| op_equal | back to summary |
|---|---|
| public IRubyObject op_equal(ThreadContext context, IRubyObject obj) Overrides org. Implements org. Doc from org. rb_obj_equal Will by default use identity equality to compare objects. This follows the Ruby semantics. The name of this method doesn't follow the convention because hierarchy problems
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from org. The default toString method is just a wrapper that calls the Ruby "to_s" method. | |