Re[2]: [Haskell-cafe] Storable class?

2008-04-22 Thread Bulat Ziganshin
Hello Evan, Wednesday, April 23, 2008, 1:48:30 AM, you wrote: The FFI doc doesn't really talk about the alignment method at all, so I don't really understand how to write one or how it's used. write: easy. just specify how much data shoulkd be aligned. for primitive datatypes this usually

Re: Re[2]: [Haskell-cafe] Storable class?

2008-04-22 Thread Galchin, Vasili
Hello, Below is a snippet of my code please look for the poke call with . This causes a hang when I run a test case. If I comment out the poke call then test case runs. Vasili -- |Correspond to some of the int flags from C's fcntl.h. data MQFlags = MQFlags { append1:: Bool,