![Symbian OS Library](../../../../a_stock/mainheading.gif)
![]() |
![]() |
|
Location:
e32def.h
typedef Int64 TInt64;
Defines a 64-bit signed integer type.
NOTE: For those migrating from versions of Symbian OS before 8.1b (i.e. 8.1a, 7.0s etc) TInt64 is now defined as a built-in type instead of as a class type. This means that the member functions of the old TInt64 class are no longer exported from EUSER.LIB, and represents a compatibility break.
To ease migration of source code, a number of macros are provided. Similar macros have also been defined in Symbian OS versions 7.0s and 8.1a, but implemented in terms of the old TInt64 class. This is important for code that is common to : one or both of these Symbian OS versions, and to 8.1b and subsequent versions.
The following list shows the new macros and the functions that they replace. It also shows some alternative techniques. In this list: x, v and r are declared as TInt64, c is declared as TInt, High and Low are declared as TUint.
OLD USAGE REPLACEMENT
TInt64(High,Low); MAKE_TINT64(High,Low);
x.Set(High,Low); MAKE_TINT64(High,Low);
x.Low(); I64LOW(x);
x.High(); I64HIGH(x);
x.GetTInt(); I64INT(x);
x.GetTReal(); I64REAL(x);
x.Lsr(c); I64LSR(x,c);
x.Mul10(); x*=10;
x.MulTop(a); I64MULTOP(x,a);
x.DivMod(v,r); r=x%v; x/=v;