MemVTable

class MemVTable(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance

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.

Skipped during bindings generation

  • field malloc: Fields with callbacks are not supported

  • field realloc: Fields with callbacks are not supported

  • field free: Fields with callbacks are not supported

  • field calloc: Fields with callbacks are not supported

  • field try_malloc: Fields with callbacks are not supported

  • field try_realloc: Fields with callbacks are not supported

Constructors

Link copied to clipboard
constructor()

Allocate a new MemVTable.

constructor(scope: <Error class: unknown class>)

Allocate a new MemVTable using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
val glibMemVTablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
open override fun hashCode(): Int