Table of Contents

Class Allocator

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class Allocator
Inheritance
Allocator
Inherited Members

Methods

Free(AllocatorHandle)

Calls native method g_allocator_free.

public static extern void Free(AllocatorHandle allocator)

Parameters

allocator AllocatorHandle

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, uint)

Calls native function g_allocator_new.

public static extern AllocatorUnownedHandle New(NonNullableUtf8StringHandle name, uint nPreallocs)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nPreallocs uint

Transfer ownership: None Nullable: False

Returns

AllocatorUnownedHandle

Transfer ownership: None Nullable: False