diff test/callback_plain/callback_plain.c @ 139:5675d34f0a06

- mips64 doc about impl status - some more verbose output for one test
author cslag
date Mon, 08 Aug 2016 11:54:27 +0200
parents 7ca57dbefed4
children f5577f6bf97a
line wrap: on
line diff
--- a/test/callback_plain/callback_plain.c	Mon Aug 08 11:24:25 2016 +0200
+++ b/test/callback_plain/callback_plain.c	Mon Aug 08 11:54:27 2016 +0200
@@ -66,10 +66,12 @@
 
   dcTest_initPlatform();
 
-  printf("about to callback...\n");
   cb = dcbNewCallback("ifsdl)s", &cbHandler, &userdata);
+  printf("about to callback (trampoline for 0x%tx at 0x%tx)...\n", &cbHandler, cb);
+
   result = ((short(*)(int, float, short, double, long long))cb)(123, 23.f, 3, 1.82, 9909ull);
   dcbFreeCallback(cb);
+
   printf("successfully returned from callback\n");
   printf("return value (should be 1234): %d\n", result);