![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#define _LIT16(name,s) const static TLitC16<sizeof(s)> name={sizeof(s)-1,L##s}
e32def.h
Use the macro to construct a constant literal descriptor of type TLitC16<TInt> with name name and text s.
The 16 bit build variant is generated for both a non-Unicode and a Unicode build.
name |
The name of the C++ variable to be generated. |
s |
The literal text enlosed within a pair of double quotes. |
_LIT16(KSomeText,"qwerty");
generates the following C++ code:
const static TLitC16<7> KSomeText;
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |