clean up tests for win64 use

This commit is contained in:
twall
2008-12-22 15:21:15 +00:00
parent 7063d9996f
commit 80e2b5a749
15 changed files with 69 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ closure_test_stdcall(ffi_cif* cif __UNUSED__, void* resp, void** args,
*(ffi_arg*)resp =
(int)*(int *)args[0] + (int)(*(int *)args[1])
+ (int)(*(int *)args[2]) + (int)(*(int *)args[3])
+ (int)(long)userdata;
+ (int)(intptr_t)userdata;
printf("%d %d %d %d: %d\n",
(int)*(int *)args[0], (int)(*(int *)args[1]),