diff test/call_suite_aggrs/cases.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/cases.c	Mon Apr 11 15:06:44 2022 +0200
+++ b/test/call_suite_aggrs/cases.c	Mon Apr 11 22:26:07 2022 +0200
@@ -47,8 +47,8 @@
 #undef X
 
 
-#define AF(c,t,i,n)   dcAggrField(at,c,offsetof(t,i),n);
-#define AFa(t,i,n,f)  dcAggrField(at,DC_SIGCHAR_AGGREGATE,offsetof(t,i),n,f_touchdcst##f());
+#define AF(c,t,i,n)   dcAggrField(a,c,offsetof(t,i),n);
+#define AFa(t,i,n,f)  dcAggrField(a,DC_SIGCHAR_AGGREGATE,offsetof(t,i),n,f_touchdcst##f());
 
 #include "dyncall.h"
 #include <string.h>