Mercurial > pub > dyncall > dyncall
diff test/call_suite/main.c @ 527:ed8835abe05f
- cosmetics
author | Tassilo Philipp |
---|---|
date | Thu, 14 Apr 2022 10:13:10 +0200 |
parents | c9c546f8598b |
children | 316c9d6f94a9 |
line wrap: on
line diff
--- a/test/call_suite/main.c Thu Apr 14 10:06:58 2022 +0200 +++ b/test/call_suite/main.c Thu Apr 14 10:13:10 2022 +0200 @@ -3,7 +3,7 @@ Package: dyncall Library: test File: test/call_suite/main.c - Description: + Description: License: Copyright (c) 2011-2022 Daniel Adler <dadler@uni-goettingen.de>, @@ -23,7 +23,6 @@ */ - #include "dyncall.h" #include "globals.h" #include <string.h> @@ -44,7 +43,7 @@ int s = 0; clear_V(); - + dcReset(p); /* locate return type in sig; if no ')' separator, test failed */ @@ -76,8 +75,8 @@ } ++pos; } - - switch(*rtype) + + switch(*rtype) { case 'v': dcCallVoid (p,t); s=1; break; /*TODO:check that no return-arg was touched.*/ case 'B': s = ( dcCallBool (p,t) == K_B[pos]); break; @@ -130,7 +129,7 @@ } static int run_test(int i) -{ +{ char const * sig; void * target; int success;