Package org.bytedeco.cpython
Class PyObjectArenaAllocator
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.cpython.PyObjectArenaAllocator
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault native constructor.PyObjectArenaAllocator(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescription_free()alloc()ctx()getPointer(long i) position(long position) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
PyObjectArenaAllocator
public PyObjectArenaAllocator()Default native constructor. -
PyObjectArenaAllocator
public PyObjectArenaAllocator(long size) Native array allocator. Access withPointer.position(long). -
PyObjectArenaAllocator
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
ctx
-
ctx
-
alloc
-
alloc
-
_free
-
_free
-