Do you imagine an objection on creating a ticket asking for
something like CComplex on Foreign.C.Types?

No, I would like it. Also add a 'CBool' that maps to the calling
convention for _Bool while you are at it.

Here is a draft. Please comment:



Proposal: complement Foreign.C.Types

A few more types could be usefull in Foreign.C.Types. These
are sugested to be included:

* CBool
    Related to 'bool' (or _Bool) from stdbool.h.

* CComplexFloat, CComplexDouble
    Related to 'float complex' and 'double complex'.


Pros:

Cons:

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to