Added IntPtrCmp, IntPtrCmpU, Int64Cmp and Int64CmpU

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6930 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-10-14 16:49:40 +00:00
parent 34e9873d5f
commit 1a039ca71f
9 changed files with 99 additions and 61 deletions

View file

@ -12,6 +12,8 @@
\define{NsisFuncReqU} This function is only available when building a \R{intro-unicode}{Unicode installer}.
\define{NsisFuncReq64} This function is only available when building a 64-bit installer.
\define{NsisACPcp} system default ANSI codepage (ACP)
\define{NsisInputCharset} ACP|OEM|CP#|UTF8|UTF16<LE|BE>

View file

@ -185,6 +185,34 @@ Compares two integers val1 and val2. If val1 and val2 are equal, Gotos jump_if_e
Same as \R{intcmp}{IntCmp}, but treats the values as unsigned integers.
\S2{int64cmp} Int64Cmp
\c val1 val2 jump_if_equal [jump_if_val1_less] [jump_if_val1_more]
Same as \R{intcmp}{IntCmp}, but treats the values as 64-bit integers.
\NsisFuncReq64
\S2{int64cmpu} Int64CmpU
\c val1 val2 jump_if_equal [jump_if_val1_less] [jump_if_val1_more]
Same as \R{intcmp}{IntCmp}, but treats the values as 64-bit unsigned integers.
\NsisFuncReq64
\S2{intptrcmp} IntPtrCmp
\c val1 val2 jump_if_equal [jump_if_val1_less] [jump_if_val1_more]
Same as \R{intcmp}{IntCmp}, but treats the values as pointer sized integers.
\S2{intptrcmpu} IntPtrCmpU
\c val1 val2 jump_if_equal [jump_if_val1_less] [jump_if_val1_more]
Same as \R{intcmp}{IntCmp}, but treats the values as pointer sized unsigned integers.
\S2{messagebox} MessageBox
\c mb_option_list messagebox_text [/SD return] [return_check jumpto [return_check_2 jumpto_2]]

View file

@ -20,6 +20,8 @@ Released on ??? ??rd, 20??
\S2{} Minor Changes
\b Added \R{intptrcmp}{IntPtrCmp}, IntPtrCmpU, Int64Cmp and Int64CmpU
\b Added \R{intptrop}{IntPtrOp}
\b Added IntOp and System::Int64Op >>> operator