view test/call_suite_aggrs/README.txt @ 485:0c68b3f91367

- renamed suite_aggrs to call_suite_aggrs for consistency (callback version will be called callback_suite_aggrs)
author Tassilo Philipp
date Thu, 17 Mar 2022 15:41:26 +0100
parents test/suite_aggrs/README.txt@653b65580cb4
children ed7d1f5e7973
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 woult decay to a pointer 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.