Mercurial > pub > dyncall > dyncall
diff 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 |
line wrap: on
line diff
--- a/test/callback_suite/config.lua Fri Apr 08 20:33:14 2022 +0200 +++ b/test/callback_suite/config.lua Sat Apr 09 13:53:58 2022 +0200 @@ -9,8 +9,8 @@ -- section 'types' ------------------------------------------------------------- -types = "BcCsSiIjJlLpfd" -- supported argument types -rtypes = types -- supported return types (currently no void support) +types = "BcCsSiIjJlLpfd" -- supported argument types +rtypes = types -- supported return types (currently no void support) -- section 'ordered' ----------------------------------------------------------- @@ -21,12 +21,12 @@ -- section 'random' ------------------------------------------------------------ -seed = 40 -- random seed +seed = 40 -- random seed -- section 'calling convention' (useful on Windows for now) -------------------- api = "" -- calling convention ("__stdcall" or "__fastcall") - -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" - -- for ms ? + -- for gcc use "__attribute__((__stdcall__))" or "__attribute__((__fastcall__))" + -- for ms ? ccprefix = "" -- signature prefix ("_s" (stdcall), "_f" (gcc fastcall) or "_F" (microsoft fastcall))