The code delivers wrong results for sizep. Could the reason be that there is
no special mframe implementation for win32?
const char *
NSGetSizeAndAlignment(const char *typePtr, unsigned *sizep, unsigned
*alignp)
{
NSArgumentInfo info;
typePtr = mframe_next_arg(typePtr, &info);
if (sizep)
*sizep = info.size;
if (alignp)
*alignp = info.align;
return typePtr;
}
When I use the original objc-runtime implementations it runs. Why did you
use mframe instead?
const char *
NSGetSizeAndAlignment(const char *typePtr, unsigned *sizep, unsigned
*alignp)
{
NSArgumentInfo info;
if (sizep)
*sizep = objc_sizeof_type(typePtr);
if (alignp)
*alignp = objc_alignof_type(typePtr);
return typePtr;
}
Michael
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep