Allocator.register

Registers the memory allocator with name. This function takes ownership of allocator.

class Allocator
static
void
register

Parameters

name string

the name of the allocator

allocator Allocator