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.

/jve