[Haskell-cafe] c2hs, size_t, and CSize -- argh!

John Van Enk vanenkj at gmail.com
Thu Oct 1 15:28:35 EDT 2009

> Ohhh, if you're dealing with pointers to CSize then it's easy, c2hs
> supports that directly. See the c2hs user guide section on the pointer
> hook.
> {# pointer *size_t as CSizePtr -> CSize #}
I seriously should have thought of that. I have #pointer's everywhere, but I
didn't think to do it with that. Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091001/fdaebc22/attachment.html

More information about the Haskell-Cafe mailing list