Gjsify LogoGjsify Logo

A set of functions used to perform memory allocation. The same #GMemVTable must be used for all allocations in the same program; a call to g_mem_set_vtable(), if it exists, should be prior to any use of GLib.

This functions related to this has been deprecated in 2.46, and no longer work.

record

Hierarchy

  • MemVTable

Index

Constructors

Properties

name: string

Methods

  • calloc(nBlocks: number, nBlockBytes: number): object
  • free(mem: object): void
  • malloc(nBytes: number): object
  • realloc(mem: object, nBytes: number): object
  • tryMalloc(nBytes: number): object
  • tryRealloc(mem: object, nBytes: number): 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