X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..4179da8a81ee3110e2a8b5615e1a4f8c8b75a16b:/docs/latex/wx/longlong.tex diff --git a/docs/latex/wx/longlong.tex b/docs/latex/wx/longlong.tex index 37f62f17eb..ef736a0897 100644 --- a/docs/latex/wx/longlong.tex +++ b/docs/latex/wx/longlong.tex @@ -6,7 +6,7 @@ %% Created: 07.03.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% License: wxWindows license +%% License: wxWidgets license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxLongLong}}\label{wxlonglong} @@ -25,10 +25,16 @@ also has operators for implicit construction from and conversion to the native You would usually use this type in exactly the same manner as any other (built-in) arithmetic type. Note that wxLongLong is a signed type, if you -want unsigned values use wxULongLong. +want unsigned values use wxULongLong which has exactly the same API as +wxLongLong except when explicitly mentioned otherwise. If a native (i.e. supported directly by the compiler) 64 bit integer type was -found a typedef {\it wxLongLong\_t} will be defined to correspond it. +found to exist, {\it wxLongLong\_t} macro will be defined to correspond to it. +Also, in this case only, two additional macros will be defined: +\helpref{wxLongLongFmtSpec}{wxlonglongfmtspec} for printing 64 bit integers +using the standard {\tt printf()} function (but see also +\helpref{ToString()}{wxlonglongtostring} for a more portable solution) and +\helpref{wxLL}{wxll} for defining 64 bit integer compile-time constants. \wxheading{Derived from} @@ -144,13 +150,13 @@ Returns the value of this wxLongLong with opposite sign. Not in wxULongLong. \constfunc{wxLongLong}{operator$-$}{\param{const wxLongLong\& }{ll}} -Substracts 2 wxLongLongs and returns the result. +Subtracts 2 wxLongLongs and returns the result. \membersection{wxLongLong::operator$-=$}\label{wxlonglongoperatorminusassign} \func{wxLongLong\&}{operator-}{\param{const wxLongLong\& }{ll}} -Substracts another wxLongLong from this one. +Subtracts another wxLongLong from this one. \membersection{wxLongLong::operator$--$}\label{wxlonglongoperatordec}