Mercurial > pub > dyncall > dyncall
annotate test/call_suite_aggrs/README.txt @ 619:c754150fe87f
- x64 win disas example fix and addition
author | Tassilo Philipp |
---|---|
date | Mon, 03 Oct 2022 13:49:19 +0200 |
parents | ed7d1f5e7973 |
children |
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 | 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 | |
506 | 5 members of structs and unions, as they would decay to a pointer in C if passed |
6 to a function, and cannot be returned. | |
462 | 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 |