annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
485
0c68b3f91367 - renamed suite_aggrs to call_suite_aggrs for consistency (callback version will be called callback_suite_aggrs)
Tassilo Philipp
parents: 462
diff changeset
1 call_suite_aggrs for dyncall written in C and Lua.
432
167faab0c0be first usable version of test suite for aggregates, handling only non-nested struct params, at the moment;
Tassilo Philipp
parents:
diff changeset
2
462
653b65580cb4 suite_aggr:
Tassilo Philipp
parents: 461
diff changeset
3 Tests aggregates (structs, unions and arrays) passed by value, along with
653b65580cb4 suite_aggr:
Tassilo Philipp
parents: 461
diff changeset
4 other, non-aggregate args. Note, arrays are only passed/returned by value as
506
ed7d1f5e7973 - test cases: cosmetics for consistency
Tassilo Philipp
parents: 485
diff changeset
5 members of structs and unions, as they would decay to a pointer in C if passed
ed7d1f5e7973 - test cases: cosmetics for consistency
Tassilo Philipp
parents: 485
diff changeset
6 to a function, and cannot be returned.
462
653b65580cb4 suite_aggr:
Tassilo Philipp
parents: 461
diff changeset
7 So this test suite does not generate any arrays outside of structs and unions.
439
252f32fa59d8 - suite_aggrs: added compile time knob to enforce intentional struct instance misalignment (should maybe be part of generator)
Tassilo Philipp
parents: 432
diff changeset
8
252f32fa59d8 - suite_aggrs: added compile time knob to enforce intentional struct instance misalignment (should maybe be part of generator)
Tassilo Philipp
parents: 432
diff changeset
9 A macro AGGR_MISALIGN can be used in globals.c to intentionally misalign
252f32fa59d8 - suite_aggrs: added compile time knob to enforce intentional struct instance misalignment (should maybe be part of generator)
Tassilo Philipp
parents: 432
diff changeset
10 aggregate instances.
432
167faab0c0be first usable version of test suite for aggregates, handling only non-nested struct params, at the moment;
Tassilo Philipp
parents:
diff changeset
11