[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cinvoke-svn] r56 - trunk/cinvoke/lib
From: |
will |
Subject: |
[cinvoke-svn] r56 - trunk/cinvoke/lib |
Date: |
29 Jun 2006 22:56:44 -0400 |
Author: will
Date: 2006-06-29 22:56:43 -0400 (Thu, 29 Jun 2006)
New Revision: 56
Modified:
trunk/cinvoke/lib/cinvoke.c
Log:
notes
Modified: trunk/cinvoke/lib/cinvoke.c
===================================================================
--- trunk/cinvoke/lib/cinvoke.c 2006-06-29 13:30:56 UTC (rev 55)
+++ trunk/cinvoke/lib/cinvoke.c 2006-06-30 02:56:43 UTC (rev 56)
@@ -352,7 +352,7 @@
ARCH_GET_STACK(stackptr);
ARCH_PUT_STACK_BYTES(len);
#endif
- while (memsize) {
+ while (memsize) { // XXX might fail on big-endian machines
*stackptr = *param;
stackptr++;
param++;
@@ -433,6 +433,7 @@
smaller = cb->prototype->parmmemsizes[i];
if (cb->prototype->parmstacksizes[i] < smaller)
smaller =
cb->prototype->parmstacksizes[i];
+ // XXX might fail on big-endian machines
memcpy(parameters[i], frameptr, smaller);
frameptr += cb->prototype->parmstacksizes[i];
numbytes += cb->prototype->parmstacksizes[i];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cinvoke-svn] r56 - trunk/cinvoke/lib,
will <=