Mercurial > pub > dyncall > dyncall
comparison test/callback_suite/config-random.lua @ 495:45ac093ca822
- test/callback_suite: make it use shared random sig generator from call_suite and call_suite_aggrs
author | Tassilo Philipp |
---|---|
date | Mon, 21 Mar 2022 16:50:44 +0100 |
parents | ca36937b4613 |
children | 049e04af13c8 |
comparison
equal
deleted
inserted
replaced
494:d45c582b5457 | 495:45ac093ca822 |
---|---|
1 -- section 'main' -------------------------------------------------------------- | 1 -- section 'main' -------------------------------------------------------------- |
2 | 2 |
3 nsigs = 800 -- number of test cases | 3 ncases = 800 -- number of test cases |
4 mode = "random" -- generatore mode: 'random' or 'ordered' type sequences | 4 mode = "random" -- generatore mode: 'random' or 'ordered' type sequences |
5 minargs = 0 -- minimum num. of supported arguments (>= 0) | 5 minargs = 0 -- minimum num. of supported arguments (>= 0) |
6 maxargs = 67 -- maximum num. of supported arguments (>= minargs) | 6 maxargs = 67 -- maximum num. of supported arguments (>= minargs) |
7 | 7 |
8 | 8 |
9 -- section 'types' ------------------------------------------------------------- | 9 -- section 'types' ------------------------------------------------------------- |
10 | 10 |
11 argtypes = "BcCsSiIjJlLpfd" -- supported argument types | 11 types = "BcCsSiIjJlLpfd" -- supported argument types |
12 rettypes = argtypes -- supported return types (currently no void support) | 12 rtypes = types -- supported return types (currently no void support) |
13 | 13 |
14 | 14 |
15 -- section 'ordered' ----------------------------------------------------------- | 15 -- section 'ordered' ----------------------------------------------------------- |
16 | 16 |
17 offset = 0 -- permutation index offset (default = 0) | 17 offset = 0 -- permutation index offset (default = 0) |
18 step = 1 -- permutation index increment (default = 1) | 18 step = 1 -- permutation index increment (default = 1) |
19 | 19 |
20 | 20 |
21 -- section 'random' ------------------------------------------------------------ | 21 -- section 'random' ------------------------------------------------------------ |
22 | 22 |
23 seed = 40 -- random seed | 23 seed = 40 -- random seed |
24 | 24 |
25 | 25 |
26 -- section 'calling convention' (useful on Windows for now) -------------------- | 26 -- section 'calling convention' (useful on Windows for now) -------------------- |
27 | 27 |
28 api = "" -- calling convention ("__stdcall" or "__fastcall") | 28 api = "" -- calling convention ("__stdcall" or "__fastcall") |
29 -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" | 29 -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" |
30 -- for ms ? | |
31 ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall)) | 30 ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall)) |