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(n_blocks: number, n_block_bytes: number): object
  • free(mem: object): void
  • malloc(n_bytes: number): object
  • realloc(mem: object, n_bytes: number): object
  • try_malloc(n_bytes: number): object
  • try_realloc(mem: object, n_bytes: 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