Mercurial > pub > dyncall > dyncall
diff test/call_suite_aggrs/main.c @ 527:ed8835abe05f
- cosmetics
author | Tassilo Philipp |
---|---|
date | Thu, 14 Apr 2022 10:13:10 +0200 |
parents | a2de1d0a73f3 |
children | f29db2bf3c0e |
line wrap: on
line diff
--- a/test/call_suite_aggrs/main.c Thu Apr 14 10:06:58 2022 +0200 +++ b/test/call_suite_aggrs/main.c Thu Apr 14 10:13:10 2022 +0200 @@ -3,7 +3,7 @@ Package: dyncall Library: test File: test/call_suite_aggrs/main.c - Description: + Description: License: Copyright (c) 2022 Tassilo Philipp <tphilipp@potion-studios.com> @@ -39,7 +39,7 @@ const char* agg_sig = G_agg_sigs[i]; int l = strlen(agg_sig); if(len) - *len = l; + *len = l; if(strncmp(agg_sig, sig, l) == 0) return i; } @@ -122,7 +122,7 @@ ++sig; } - 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; @@ -203,7 +203,7 @@ } static int run_test(int i) -{ +{ char const * sig; void * target; int success;