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.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
Copyright © 2002-2009 JRuby Team. All Rights Reserved.