Mercurial > pub > dyncall > dyncall
comparison test/callback_suite/config.lua @ 505:049e04af13c8
test/callback_suite:
- greatly simplified
- refactored to look more like other test cases (especially call_suite{,_aggrs} for consistency/maintainablity/future code sharing
author | Tassilo Philipp |
---|---|
date | Sat, 09 Apr 2022 13:53:58 +0200 |
parents | 45ac093ca822 |
children | f3d44195dbdf |
comparison
equal
deleted
inserted
replaced
504:f263eb7a206e | 505:049e04af13c8 |
---|---|
7 maxargs = 67 -- maximum num. of supported arguments (>= minargs) | 7 maxargs = 67 -- maximum num. of supported arguments (>= minargs) |
8 | 8 |
9 | 9 |
10 -- section 'types' ------------------------------------------------------------- | 10 -- section 'types' ------------------------------------------------------------- |
11 | 11 |
12 types = "BcCsSiIjJlLpfd" -- supported argument types | 12 types = "BcCsSiIjJlLpfd" -- supported argument types |
13 rtypes = types -- supported return types (currently no void support) | 13 rtypes = types -- supported return types (currently no void support) |
14 | 14 |
15 | 15 |
16 -- section 'ordered' ----------------------------------------------------------- | 16 -- section 'ordered' ----------------------------------------------------------- |
17 | 17 |
18 offset = 0 -- permutation index offset (default = 0) | 18 offset = 0 -- permutation index offset (default = 0) |
19 step = 1 -- permutation index increment (default = 1) | 19 step = 1 -- permutation index increment (default = 1) |
20 | 20 |
21 | 21 |
22 -- section 'random' ------------------------------------------------------------ | 22 -- section 'random' ------------------------------------------------------------ |
23 | 23 |
24 seed = 40 -- random seed | 24 seed = 40 -- random seed |
25 | 25 |
26 | 26 |
27 -- section 'calling convention' (useful on Windows for now) -------------------- | 27 -- section 'calling convention' (useful on Windows for now) -------------------- |
28 | 28 |
29 api = "" -- calling convention ("__stdcall" or "__fastcall") | 29 api = "" -- calling convention ("__stdcall" or "__fastcall") |
30 -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" | 30 -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" |
31 -- for ms ? | 31 -- for ms ? |
32 ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall)) | 32 ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall)) |