
7 Mar
2018
7 Mar
'18
7:13 p.m.
"EL" == Evan Laforge
writes:
EL> If you are writing a new C binding, I recommend something higher-level EL> than hsc2hs, such as c2hs, which I think should sidestep the problem EL> entirely by verifying your types. But if you are already using hsc2hs and EL> for whatever reason don't want subtle memory corruption bugs, you can EL> import ForeignC instead of Foreign and Foreign.C, and see if you have any. Note that c2hsc is even higher, since it will generate the .hsc files for you from the C headers. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2