Mercurial > pub > dyncall > dyncall
diff test/plain_c++/test_main.cc @ 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 | fcb9d00b5a00 |
children | b26a2a4e1daa |
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);