Gjsify LogoGjsify Logo

Hierarchy

  • Allocator

Callable

  • Allocator(data: object, length: number): object
  • An allocator used to allocate data for the attributes in this [structAttributes] set.

    This is a function that acts like g_realloc. Specifically it frees when length is set to zero, it allocates when data is set to %NULL, and it reallocates when both are valid.

    Parameters

    • data: object

      Memory to allocate or deallocate.

    • length: number

      New length of memory.

    Returns object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method