Mercurial > pub > dyncall > dyncall
view test/call_suite_aggrs/README.txt @ 602:22e4e3f06797
tests:
- removed stale test/sharedlib (which built a dll, but is unused now, dynload_plain prob used it but provides such libs itself, now)
- sync'ed some embedded Makefiles w/ generic ones
- suite3: fixed C++ flags
author | Tassilo Philipp |
---|---|
date | Wed, 21 Sep 2022 13:25:35 +0200 |
parents | ed7d1f5e7973 |
children |
line wrap: on
line source
call_suite_aggrs for dyncall written in C and Lua. Tests aggregates (structs, unions and arrays) passed by value, along with other, non-aggregate args. Note, arrays are only passed/returned by value as members of structs and unions, as they would decay to a pointer in C if passed to a function, and cannot be returned. So this test suite does not generate any arrays outside of structs and unions. A macro AGGR_MISALIGN can be used in globals.c to intentionally misalign aggregate instances.