On Sat, Mar 15, 2008 at 12:32:29AM -0700, Jason Dusek wrote: > Simon Marlow <[EMAIL PROTECTED]> wrote: > > GHC...can't guarantee to generate a prototype that is exactly > > the same as the C prototype given in the header file (e.g. it > > doesn't know about const)... > > Why doesn't GHC know about const?
Because the Ptr type doesn't indicate const-ness (perhaps it should). _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users