[Haskell-cafe] Begginer question about alignment in Storable

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Nov 15 16:18:01 EST 2008


Hello Maurí­cio,

Saturday, November 15, 2008, 11:29:23 PM, you wrote:

> struct {
>    double w[2];
> }

> Can I assume that its function 'alignment' should
> return the same as "alignment (1::CDouble)"? Or
> should it be "2 * alignment (1::CDouble)"?

secind - definitely not. first - probably yes


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list