Mercurial > pub > dyncall > dyncall
annotate test/callback_suite/config.lua @ 634:e3441521ad6b
"
author | Tassilo Philipp |
---|---|
date | Sun, 20 Nov 2022 19:46:01 +0100 |
parents | e56241bba0f5 |
children |
rev | line source |
---|---|
516
1a813b706de4
callback_suite: fixed 'ordered' mode config (was missing first line)
Tassilo Philipp
parents:
509
diff
changeset
|
1 -- auto-generated file from template config-random.lua (created by make) |
0 | 2 -- section 'main' -------------------------------------------------------------- |
3 | |
495
45ac093ca822
- test/callback_suite: make it use shared random sig generator from call_suite and call_suite_aggrs
Tassilo Philipp
parents:
105
diff
changeset
|
4 ncases = 800 -- number of test cases (note: inf loop if higher than max arg permutation) |
0 | 5 mode = "random" -- generatore mode: 'random' or 'ordered' type sequences |
6 minargs = 0 -- minimum num. of supported arguments (>= 0) | |
528
e56241bba0f5
- test/callback_suite: reduce number of args, as it uses macros in generated cases.h and some platforms' preprocessor cannot handle that many args
Tassilo Philipp
parents:
516
diff
changeset
|
7 maxargs = 60 -- maximum num. of supported arguments (>= minargs) |
0 | 8 |
9 | |
10 -- section 'types' ------------------------------------------------------------- | |
11 | |
505 | 12 types = "BcCsSiIjJlLpfd" -- supported argument types |
509 | 13 rtypes = nil -- supported return types (set to nil to use "v"..types) |
0 | 14 |
15 | |
16 -- section 'ordered' ----------------------------------------------------------- | |
17 | |
18 offset = 0 -- permutation index offset (default = 0) | |
19 step = 1 -- permutation index increment (default = 1) | |
20 | |
21 | |
22 -- section 'random' ------------------------------------------------------------ | |
23 | |
505 | 24 seed = 40 -- random seed |
0 | 25 |
26 | |
27 -- section 'calling convention' (useful on Windows for now) -------------------- | |
28 | |
29 api = "" -- calling convention ("__stdcall" or "__fastcall") | |
505 | 30 -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" |
0 | 31 ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall)) |