From: Duncan C. <dun...@us...> - 2004-08-10 14:51:57
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/glib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22901/gtk/glib Modified Files: GObject.chs Log Message: Removed support for versions of ghc pre 5.04. ghc 5.04 supports the new FFI syntax so remove old-style "foreign export dynamic" versions. Tested with ghc 5.04 & 5.04.3 Index: GObject.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/glib/GObject.chs,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- GObject.chs 23 May 2004 16:00:53 -0000 1.8 +++ GObject.chs 10 Aug 2004 14:51:47 -0000 1.9 @@ -104,16 +104,8 @@ {#pointer GWeakNotify#} -#if __GLASGOW_HASKELL__>=600 - foreign import ccall "wrapper" mkDestructor :: IO () -> IO GWeakNotify -#else - -foreign export dynamic mkDestructor :: IO () -> IO GWeakNotify - -#endif - -- | attach a callback that will be called after the -- destroy hooks have been called -- |