Class Allocator
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Allocator
- Inheritance
-
Allocator
- Inherited Members
Constructors
Allocator(AllocatorOwnedHandle)
public Allocator(AllocatorOwnedHandle handle)
Parameters
handle
AllocatorOwnedHandle
Properties
Handle
public AllocatorOwnedHandle Handle { get; }
Property Value
Methods
Equals(Allocator?)
public bool Equals(Allocator? other)
Parameters
other
Allocator
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
New(string, uint)
public static Allocator New(string name, uint nPreallocs)