On May 14, 2010, at 16:12, Andy Stewart wrote: > type CAsyncReadyCallback = Ptr GObject -> Ptr AsyncResult -> Ptr () - > > IO ()
It seems odd to me that you simply define the return type. You have to tell c2hs that a certain Haskell type should map to the corresponding C type using the {# pointer #} hook. Axel ------------------------------------------------------------------------------ _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel