> Uh, oh! Don't even try this if you ever want to be thread-safe! :-}
Yeah, I know. For what it's worth, it's not what GreenCard does with the native Hugs backend (at least, it wasn't last time I looked). Hugs primitives are allowed to return tuples of values so they do. It's a shame C doesn't support multiple return values and kinda surprising given that C is like assembler in so many other ways. -- Alastair Reid [EMAIL PROTECTED] http://www.reid-consulting-uk.ltd.uk/alastair/ _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi