Mercurial > pub > dyncall > dyncall
diff test/callf/main.c @ 363:3ff4a4ba7f0e
- changelog addition
- sig string semantic/correctness fix in callf test
author | Tassilo Philipp |
---|---|
date | Tue, 14 Apr 2020 17:47:33 +0200 |
parents | 78dfa2f9783a |
children | 451299d50c1a |
line wrap: on
line diff
--- a/test/callf/main.c Tue Apr 14 16:56:57 2020 +0200 +++ b/test/callf/main.c Tue Apr 14 17:47:33 2020 +0200 @@ -135,9 +135,9 @@ #if defined(DC_UNIX) /* testing syscall using calling convention prefix - not available on all platforms */ dcReset(vm); - printf("\ncallf _$ipi)i"); + printf("\ncallf _$iZi)i"); fflush(NULL); /* needed before syscall write as it's immediate, or order might be incorrect */ - dcCallF(vm, &ret, (DCpointer)(ptrdiff_t)SYS_write, "_$ipi)i", 1/*stdout*/, " = syscall: 1", 13); + dcCallF(vm, &ret, (DCpointer)(ptrdiff_t)SYS_write, "_$iZi)i", 1/*stdout*/, " = syscall: 1", 13); r = ret.i == 13 && r; #endif