<br><br><div class="gmail_quote">On Tue, Apr 22, 2008 at 9:29 PM, Evan Laforge &lt;<a href="mailto:qdunkan@gmail.com">qdunkan@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This uses hsc2hs. &nbsp;As far as I can tell, alignment is unused. &nbsp;I&#39;ve<br>
never had an error from using &#39;undefined&#39; there.</blockquote><div><br>Some architectures require all sorts of wacky alignments. E.g. floats may need to be 4 byte aligned, so it&#39;s very important that you don&#39;t poke a single byte, and then a float, you need to pad with 3 empty bytes first (assuming the whole structure starts at a 4 byte alignment).<br>
<br><br><br></div></div>-- <br>Sebastian Sylvan<br>+44(0)7857-300802<br>UIN: 44640862