Mercurial > pub > dyncall > dyncall
comparison 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 |
comparison
equal
deleted
inserted
replaced
518:a0ff5dff090b | 519:99819b874bac |
---|---|
45 #define X(CH,T) typedef T CH; | 45 #define X(CH,T) typedef T CH; |
46 DEF_TYPES | 46 DEF_TYPES |
47 #undef X | 47 #undef X |
48 | 48 |
49 | 49 |
50 #define AF(c,t,i,n) dcAggrField(at,c,offsetof(t,i),n); | 50 #define AF(c,t,i,n) dcAggrField(a,c,offsetof(t,i),n); |
51 #define AFa(t,i,n,f) dcAggrField(at,DC_SIGCHAR_AGGREGATE,offsetof(t,i),n,f_touchdcst##f()); | 51 #define AFa(t,i,n,f) dcAggrField(a,DC_SIGCHAR_AGGREGATE,offsetof(t,i),n,f_touchdcst##f()); |
52 | 52 |
53 #include "dyncall.h" | 53 #include "dyncall.h" |
54 #include <string.h> | 54 #include <string.h> |
55 | 55 |
56 | 56 |