Mercurial > pub > dyncall > dyncall
comparison test/call_suite_aggrs/cases.c @ 510:f0080b53635d
test/call_suite_aggrs:
- less confusing and simpler generated code (with first arg in V_?[0] output)
- avoid using same test reference value for retval and last arg
author | Tassilo Philipp |
---|---|
date | Sat, 09 Apr 2022 23:45:44 +0200 |
parents | 29d09d10ecd9 |
children | c9c546f8598b |
comparison
equal
deleted
inserted
replaced
509:f3d44195dbdf | 510:f0080b53635d |
---|---|
53 #include <string.h> | 53 #include <string.h> |
54 | 54 |
55 | 55 |
56 /* Plan9 pcc and MSVC (when using C) do not allow empty structs */ | 56 /* Plan9 pcc and MSVC (when using C) do not allow empty structs */ |
57 #if defined(DC__C_MSVC) || defined(DC__OS_Plan9) | 57 #if defined(DC__C_MSVC) || defined(DC__OS_Plan9) |
58 # include "nonemptystructs.h" | 58 # include "nonemptyaggrs.h" |
59 #else | 59 #else |
60 # include "cases.h" | 60 # include "cases.h" |
61 #endif | 61 #endif |
62 | 62 |
63 int G_ncases = sizeof(G_sigtab)/sizeof(G_sigtab[0]); | 63 int G_ncases = sizeof(G_sigtab)/sizeof(G_sigtab[0]); |