Memory.isType

Check if mem if allocated with an allocator for mem_type. Since 1.2

class Memory
int
isType
(
string memType
)

Parameters

memType string

a memory type

Return Value

Type: int

TRUE if mem was allocated from an allocator for mem_type.

Meta