get_allocator


Description:

public void get_allocator (out Allocator? allocator, out unowned AllocationParams @params)

Lets Src sub-classes to know the memory allocator used by the base class and its params.

Unref the allocator after usage.

Parameters:

this

a Src

allocator

the Allocator used

params

the AllocationParams of allocator