Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32def.h

__RHEAP_FAILNEXT

__RHEAP_FAILNEXT (aHeap, aCount)

Description

Simulates an allocation failure for the specific heap.

The failure occurs on the next call to new or any of the functions which allocate memory from the heap. This macro is defined only for debug builds.

Parameters

aHeap

A pointer to the specific RHeap.

aCount

The rate of failure - heap allocation fails every aCount attempt.

See also: