sol/vimus — pull request #19 by joachifm (2012-03-11 09:59:25+00:00)
Title: Do not assume that attr_t and chtype are long

chtype can be configured by the user, and may not be a long (e.g., on 32 bit systems).
c2hs will discover which type is actually used and generate foreign
calls accordingly.
Assuming that attr_t and chtype are long will cause type mismatches in
these cases.

This patch introduces Attr_t and Chtype_t which will point to the
correct type, discovered by c2hs at compile-time.