comparison test/call_suite_aggrs/README.txt @ 506:ed7d1f5e7973

- test cases: cosmetics for consistency
author Tassilo Philipp
date Sat, 09 Apr 2022 13:57:27 +0200
parents 0c68b3f91367
children
comparison
equal deleted inserted replaced
505:049e04af13c8 506:ed7d1f5e7973
1 call_suite_aggrs for dyncall written in C and Lua. 1 call_suite_aggrs for dyncall written in C and Lua.
2 2
3 Tests aggregates (structs, unions and arrays) passed by value, along with 3 Tests aggregates (structs, unions and arrays) passed by value, along with
4 other, non-aggregate args. Note, arrays are only passed/returned by value as 4 other, non-aggregate args. Note, arrays are only passed/returned by value as
5 members of structs and unions, as they woult decay to a pointer if passed to a 5 members of structs and unions, as they would decay to a pointer in C if passed
6 function and cannot be returned. 6 to a function, and cannot be returned.
7 So this test suite does not generate any arrays outside of structs and unions. 7 So this test suite does not generate any arrays outside of structs and unions.
8 8
9 A macro AGGR_MISALIGN can be used in globals.c to intentionally misalign 9 A macro AGGR_MISALIGN can be used in globals.c to intentionally misalign
10 aggregate instances. 10 aggregate instances.
11 11