reactos/sdk/tools
Hermès Bélusca-Maïto bd27b050fc
[SPEC2DEF] Improve the 'int128' arguments display. Addendum to commit a28fa3fd.
'int128' arguments are NOT almost always GUID, as was claimed, and the
usage of the wine_dbgstr_guid() function to display them would require
the presence of yet another wine-specific header.

Instead, define a "MyInt128" typedef, local to the stub file being
generated, as the structure of two __int64's (lower and upper), and
print this "MyInt128" as the couple of these two __int64's.

Besides, display the __int64 numbers prefixed with "0x" (together with
the PRIx64 formatter).

Finally, when generating the debug-print function calls, it is useless to
explicitly cast the 'aX' variables with their types, because their types
are already known from the prototype of the stub-function!!
Therefore we can use the same `fprintf(file, "a%d", i);` for all the
ARG_LONG, ARG_PTR, ARG_STR, ARG_WSTR, ARG_DBL, ARG_INT64 and ARG_FLOAT.
Only in the case of ARG_INT128 we output "a%d.lower, a%d.upper" .
2020-08-30 02:16:15 +02:00
..
cabman [HOST-TOOLS] Fix the build from IDE for visual studio 2019 CE 2020-05-16 20:17:43 +02:00
create_nls
fatten
gendib
geninc
hhpcomp [HHPCOMP] Fix 2 MSVC C4101 warnings (#2392) 2020-06-06 18:42:47 +02:00
hpp [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
isohybrid
kbdtool
log2lines
mkhive [NTOSKRNL] Add 'DECLSPEC_NORETURN' to a few 'KeBugCheck*()' (#2896) 2020-06-06 17:50:14 +02:00
mkisofs [FORMATTING] [CMAKE] Remove space in 'if (' (#2847) 2020-05-26 20:24:02 +02:00
mkshelllink
ms2ps
nandflash
obj2bin
ofw_interface
pipetools
port
regtests2xml
rgenstat
rsym
spec2def [SPEC2DEF] Improve the 'int128' arguments display. Addendum to commit a28fa3fd. 2020-08-30 02:16:15 +02:00
unicode [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
utf16le
widl [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
winesync [WINESYNC]: d3dx9 is now in sync with wine-staging wine-4.2 2020-02-26 18:19:18 +01:00
wpp
xml2sdb [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
bin2c.c
check_code_format.sh
CMakeLists.txt [SDK][HOST-TOOLS] Add load_config workaround for gcc builds 2020-04-17 17:47:24 +02:00
do_code_format.sh
dumpstab.c
gen_baseaddress.py
mkconfig.c
pefixup.c [PEFIXUP] Improve error messages 2020-04-19 15:19:03 +02:00
stubgen.c