On 16-Oct-2002, Antony Courtney <[EMAIL PROTECTED]> wrote: > Does anyone know off hand: > > - Is it a safe, portable assumption that enums will always be > encoded as an unsigned short or 16-bit word?
No, that assumption is not safe or portable. > - If not, then how should enum values be declared in the FFI? -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit The University of Melbourne | of excellence is a lethal habit" WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp. _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi