Package org.bytedeco.cpython
Class PyMemAllocatorEx
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.cpython.PyMemAllocatorEx
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic 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.PyMemAllocatorEx(long size) Native array allocator.Pointer cast constructor. -
Method Summary
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
-
PyMemAllocatorEx
public PyMemAllocatorEx()Default native constructor. -
PyMemAllocatorEx
public PyMemAllocatorEx(long size) Native array allocator. Access withPointer.position(long). -
PyMemAllocatorEx
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
ctx
-
ctx
-
malloc
-
malloc
-
calloc
-
calloc
-
realloc
-
realloc
-
_free
-
_free
-