Class PointerScope

java.lang.Object
org.bytedeco.javacpp.PointerScope
All Implemented Interfaces:
AutoCloseable

public class PointerScope extends Object implements AutoCloseable
Pointer objects attach themselves automatically on Pointer.init(long, long, long, long) to the first PointerScope found in scopeStack that they can to based on the classes found in forClasses. The user can then call deallocate(), or rely on close() to release in a timely fashion all attached Pointer objects, instead of relying on the garbage collector.