https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28f08b54c00558bb56e21…
commit 28f08b54c00558bb56e21a40e0319c6efdc10550
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Aug 30 01:57:00 2020 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Aug 30 02:16:14 2020 +0200
[SPEC2DEF] Minor whitespace makeup only.
---
sdk/tools/spec2def/spec2def.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/sdk/tools/spec2def/spec2def.c b/sdk/tools/spec2def/spec2def.c
index c1ac211ccc0..e4c9441c7e6 100644
--- a/sdk/tools/spec2def/spec2def.c
+++ b/sdk/tools/spec2def/spec2def.c
@@ -297,15 +297,15 @@ OutputLine_stub(FILE *file, EXPORT *pexp)
if (i != 0) fprintf(file, ", ");
switch (pexp->anArgs[i])
{
- case ARG_LONG: fprintf(file, "long"); break;
- case ARG_PTR: fprintf(file, "void*"); break;
- case ARG_STR: fprintf(file, "char*"); break;
- case ARG_WSTR: fprintf(file, "wchar_t*"); break;
- case ARG_DBL: fprintf(file, "double"); break;
- case ARG_INT64 : fprintf(file, "__int64"); break;
+ case ARG_LONG: fprintf(file, "long"); break;
+ case ARG_PTR: fprintf(file, "void*"); break;
+ case ARG_STR: fprintf(file, "char*"); break;
+ case ARG_WSTR: fprintf(file, "wchar_t*"); break;
+ case ARG_DBL: fprintf(file, "double"); break;
+ case ARG_INT64: fprintf(file, "__int64"); break;
/* __int128 is not supported on x86, and int128 in spec files most often
represents a GUID */
- case ARG_INT128 : fprintf(file, "GUID"); break;
- case ARG_FLOAT: fprintf(file, "float"); break;
+ case ARG_INT128: fprintf(file, "GUID"); break;
+ case ARG_FLOAT: fprintf(file, "float"); break;
}
fprintf(file, " a%d", i);
}
@@ -345,14 +345,14 @@ OutputLine_stub(FILE *file, EXPORT *pexp)
if (i != 0) fprintf(file, ",");
switch (pexp->anArgs[i])
{
- case ARG_LONG: fprintf(file, "0x%%lx"); break;
- case ARG_PTR: fprintf(file, "0x%%p"); break;
- case ARG_STR: fprintf(file, "'%%s'"); break;
- case ARG_WSTR: fprintf(file, "'%%ws'"); break;
- case ARG_DBL: fprintf(file, "%%f"); break;
- case ARG_INT64: fprintf(file, "%%\"PRIx64\""); break;
- case ARG_INT128: fprintf(file, "'%%s'"); break;
- case ARG_FLOAT: fprintf(file, "%%f"); break;
+ case ARG_LONG: fprintf(file, "0x%%lx"); break;
+ case ARG_PTR: fprintf(file, "0x%%p"); break;
+ case ARG_STR: fprintf(file, "'%%s'"); break;
+ case ARG_WSTR: fprintf(file, "'%%ws'"); break;
+ case ARG_DBL: fprintf(file, "%%f"); break;
+ case ARG_INT64: fprintf(file, "%%\"PRIx64\""); break;
+ case ARG_INT128: fprintf(file, "'%%s'"); break;
+ case ARG_FLOAT: fprintf(file, "%%f"); break;
}
}
fprintf(file, ")\\n\"");