Package it.unich.jgmp.nativelib
Interface FreeFunc
-
- All Superinterfaces:
com.sun.jna.Callback
- All Known Implementing Classes:
AllocationMonitor.JGMPFree
public interface FreeFunc extends com.sun.jna.Callback
Custom deallocator function callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke(com.sun.jna.Pointer ptr, SizeT alloc_size)
De-allocate the space pointed to byptr
.
-
-
-
Method Detail
-
invoke
void invoke(com.sun.jna.Pointer ptr, SizeT alloc_size)
De-allocate the space pointed to byptr
.ptr
is never null, it’s always a previously allocated block of size bytes.
-
-