public final class NativeObjectAllocator extends java.lang.Object implements ObjectAllocator
NativeObjectAllocator implements allocation through a native function.
It is only created from within C code.| Modifier and Type | Field and Description |
|---|---|
private long |
function |
NOT_ALLOCATABLE_ALLOCATOR| Constructor and Description |
|---|
NativeObjectAllocator(long function) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
allocate(Ruby runtime,
RubyClass klass) |
public IRubyObject allocate(Ruby runtime, RubyClass klass)
allocate in interface ObjectAllocator