Mercurial > pub > dyncall > dyncall
changeset 585:5a46d46b318b
- fixed wrong mode setting in test (ellipse mode needs to be set after this ptr for thiscalls)
author | Tassilo Philipp |
---|---|
date | Tue, 13 Sep 2022 17:43:51 +0200 |
parents | f76dbea7a0c1 |
children | b26a2a4e1daa |
files | test/plain_c++/test_main.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/plain_c++/test_main.cc Tue Sep 13 17:32:24 2022 +0200 +++ b/test/plain_c++/test_main.cc Tue Sep 13 17:43:51 2022 +0200 @@ -253,8 +253,8 @@ /* ellipsis test w/ this pointer */ dcReset(pc); + dcArgPointer(pc, pThis); dcMode(pc, DC_CALL_C_ELLIPSIS); - dcArgPointer(pc, pThis); dcArgInt(pc, 23); dcMode(pc, DC_CALL_C_ELLIPSIS_VARARGS); dcArgInt(pc, -223);