Class Allocator.AllocatorClass

All Implemented Interfaces:
Proxy
Enclosing class:
Allocator

public static class Allocator.AllocatorClass extends GstObject.ObjectClass
The GstAllocator is used to create new memory.
  • Constructor Details

    • AllocatorClass

      public AllocatorClass(MemorySegment address)
      Create a AllocatorClass proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideAlloc

      public void overrideAlloc(Arena arena, @Nullable Method method)
      Override virtual method alloc.
      Parameters:
      method - the method to invoke
    • overrideFree

      public void overrideFree(Arena arena, @Nullable Method method)
      Override virtual method free.
      Parameters:
      method - the method to invoke