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.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invoke(com.sun.jna.Pointer ptr, SizeT alloc_size)
    De-allocate the space pointed to by ptr.
  • Method Details

    • invoke

      void invoke(com.sun.jna.Pointer ptr, SizeT alloc_size)
      De-allocate the space pointed to by ptr. ptr is never null, it’s always a previously allocated block of size bytes.