Commit 7fcc1d9b by Andreas Tobler Committed by Andreas Tobler

pyobjc-tc.c (main): Treat result value as of type ffi_arg.

2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
	as of type ffi_arg.
	* testsuite/libffi.call/struct3.c (main): Fix CHECK.

From-SVN: r76513
parent fdb1c7b3
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
as of type ffi_arg.
* testsuite/libffi.call/struct3.c (main): Fix CHECK.
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com> 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result * testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
......
...@@ -93,7 +93,7 @@ int main(void) ...@@ -93,7 +93,7 @@ int main(void)
int o = 0; int o = 0;
int l = 42; int l = 42;
char* m = "myMethod"; char* m = "myMethod";
int result; ffi_arg result;
values[0] = &o; values[0] = &o;
values[1] = &m; values[1] = &m;
......
...@@ -52,7 +52,7 @@ int main (void) ...@@ -52,7 +52,7 @@ int main (void)
printf ("%d %d\n", ts3_result->si, -(compare_value*2)); printf ("%d %d\n", ts3_result->si, -(compare_value*2));
CHECK(ts3_result->si == -(ts3_arg.si*2)); CHECK(ts3_result->si == -(compare_value*2));
free (ts3_result); free (ts3_result);
exit(0); exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment