Re: Parsing a struct within a struct

2011-03-10 Thread Aidan Gauland
On Thu, Mar 10, 2011 at 10:36:43PM +0100, Ludovic Courtès wrote: > This patch should fix it (will be in 2.0.1): It did! Fantastic! Thank you very much! :D > PS: Let us know when your game is ready. :-) Definitely. --Aidan signature.asc Description: Digital signature

Re: Parsing a struct within a struct

2011-03-10 Thread Ludovic Courtès
Hi Aidan, Aidan Gauland writes: > On Tue, Mar 08, 2011 at 08:20:29PM +1300, Aidan Gauland wrote: >> (parse-c-struct event-pointer >> (list uint8 uint8 uint8 >> (list uint8 int int uint16 ))) >> > > It seemed to be an off-by-one(-byte) error. There was paddi

Re: Parsing a struct within a struct

2011-03-09 Thread Aidan Gauland
On Tue, Mar 08, 2011 at 08:20:29PM +1300, Aidan Gauland wrote: > (parse-c-struct event-pointer > (list uint8 uint8 uint8 > (list uint8 int int uint16 ))) > It seemed to be an off-by-one(-byte) error. There was padding to align (to 32-bits, I think) the sub-st