Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32def.h

_LIT

_LIT (name, s) const static TLitC<sizeof(L##s)/2> name={sizeof(L##s)/2-1,L##s}

Description

Constructs a build independent constant literal descriptor of type TLitC<TInt> with the specified name and text.

An 8-bit build variant is generated for a non-Unicode build; A 16-bit build variant is generated for a Unicode build.

Parameters

name

The name of the C++ variable to be generated.

s

The literal text enclosed within a pair of double quotes.