mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
bd27b050fc
'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" . |
||
---|---|---|
.. | ||
cabman | ||
create_nls | ||
fatten | ||
gendib | ||
geninc | ||
hhpcomp | ||
hpp | ||
isohybrid | ||
kbdtool | ||
log2lines | ||
mkhive | ||
mkisofs | ||
mkshelllink | ||
ms2ps | ||
nandflash | ||
obj2bin | ||
ofw_interface | ||
pipetools | ||
port | ||
regtests2xml | ||
rgenstat | ||
rsym | ||
spec2def | ||
unicode | ||
utf16le | ||
widl | ||
winesync | ||
wpp | ||
xml2sdb | ||
bin2c.c | ||
check_code_format.sh | ||
CMakeLists.txt | ||
do_code_format.sh | ||
dumpstab.c | ||
gen_baseaddress.py | ||
mkconfig.c | ||
pefixup.c | ||
stubgen.c |