Mercurial > pub > dyncall > dyncall
annotate test/callback_suite/config.lua @ 527:ed8835abe05f
- cosmetics
| author | Tassilo Philipp |
|---|---|
| date | Thu, 14 Apr 2022 10:13:10 +0200 |
| parents | 1a813b706de4 |
| children | e56241bba0f5 |
| 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) | |
|
105
ca36937b4613
- more cases for checked-in config of callback_suite test (needed some more floats as first params)
cslag
parents:
44
diff
changeset
|
7 maxargs = 67 -- 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)) |
