Symbian
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

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



Location: e32def.h

__RHEAP_SETFAIL

__RHEAP_SETFAIL (aHeap, aType, aValue)

Description

Simulates an allocation failure for the specific heap.

The failure occurs on subsequent calls 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.

aType

The type of failure to be simulated.

aValue

The failure rate.

See also:

Terms and conditions of use of the material