@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class SafePyObject extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SafePyObject(Pointer p)
Pointer cast constructor.
|
SafePyObject(Pointer data,
PyInterpreter pyinterpreter) |
SafePyObject(SafePyObject other) |
Modifier and Type | Method and Description |
---|---|
Pointer |
ptr(PyInterpreter arg0) |
SafePyObject |
put(SafePyObject other) |
PyInterpreter |
pyinterpreter() |
Pointer |
release() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public SafePyObject(Pointer p)
Pointer(Pointer)
.public SafePyObject(@Cast(value="PyObject*") Pointer data, PyInterpreter pyinterpreter)
public SafePyObject(@ByRef(value=true) SafePyObject other)
@ByRef @Name(value="operator =") public SafePyObject put(@Const @ByRef SafePyObject other)
@ByRef public PyInterpreter pyinterpreter()
@Cast(value="PyObject*") public Pointer ptr(@Const PyInterpreter arg0)
Copyright © 2024. All rights reserved.