Mercurial > pub > dyncall > dyncall
diff test/call_suite_aggrs/main.c @ 519:99819b874bac
test/call_suite_aggrs:
- refactored generator code a bit to be simpler, write cleaner output, have better shareability and clarity
- added rtypes w/ default value nil to config.lua, to self document
- shared some code under test/common/
- fixed nonemptyaggrs sigs and cases.h (accidentally overwritten with cases having empty aggrs)
author | Tassilo Philipp |
---|---|
date | Mon, 11 Apr 2022 22:26:07 +0200 |
parents | c9c546f8598b |
children | a2de1d0a73f3 |
line wrap: on
line diff
--- a/test/call_suite_aggrs/main.c Mon Apr 11 15:06:44 2022 +0200 +++ b/test/call_suite_aggrs/main.c Mon Apr 11 22:26:07 2022 +0200 @@ -73,7 +73,7 @@ if(*rtype == '{' || *rtype == '<') { int i = find_agg_idx(NULL, rtype); if(i == -1) { - printf("unknown rtype sig at '%s' ;", rtype); + printf("unknown rtype aggr sig at '%s' ;", rtype); return 0; } @@ -108,7 +108,7 @@ DCaggr *ag; int i = find_agg_idx(&len, sig); if(i == -1) { - printf("unknown sig at '%s' ;", sig); + printf("unknown aggr sig at '%s' ;", sig); return 0; } ag = ((DCaggr*(*)())G_agg_touchdcstfuncs[i])();