Mercurial > pub > dyncall > dyncall
annotate test/callback_suite/config-random.lua @ 251:3f7c69fadfc3
- regression fix for changing writable to executable memory for platforms where
mmap has no MAP_ANON (usually older platforms, e.g. solaris 7)
author | Tassilo Philipp |
---|---|
date | Sun, 14 May 2017 02:26:21 +0200 |
parents | ca36937b4613 |
children | 45ac093ca822 |
rev | line source |
---|---|
0 | 1 -- section 'main' -------------------------------------------------------------- |
2 | |
105
ca36937b4613
- more cases for checked-in config of callback_suite test (needed some more floats as first params)
cslag
parents:
0
diff
changeset
|
3 nsigs = 800 -- number of test cases |
0 | 4 mode = "random" -- generatore mode: 'random' or 'ordered' type sequences |
105
ca36937b4613
- more cases for checked-in config of callback_suite test (needed some more floats as first params)
cslag
parents:
0
diff
changeset
|
5 minargs = 0 -- minimum num. of supported arguments (>= 0) |
0 | 6 maxargs = 67 -- maximum num. of supported arguments (>= minargs) |
7 | |
8 | |
9 -- section 'types' ------------------------------------------------------------- | |
10 | |
11 argtypes = "BcCsSiIjJlLpfd" -- supported argument types | |
12 rettypes = argtypes -- supported return types (currently no void support) | |
13 | |
14 | |
15 -- section 'ordered' ----------------------------------------------------------- | |
16 | |
17 offset = 0 -- permutation index offset (default = 0) | |
18 step = 1 -- permutation index increment (default = 1) | |
19 | |
20 | |
21 -- section 'random' ------------------------------------------------------------ | |
22 | |
105
ca36937b4613
- more cases for checked-in config of callback_suite test (needed some more floats as first params)
cslag
parents:
0
diff
changeset
|
23 seed = 40 -- random seed |
0 | 24 |
25 | |
26 -- section 'calling convention' (useful on Windows for now) -------------------- | |
27 | |
28 api = "" -- calling convention ("__stdcall" or "__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)) |