From: Wolfgang T. <wth...@us...> - 2005-09-27 11:55:39
|
Update of /cvsroot/hoc/hoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12043 Modified Files: config.mk.in Log Message: A monster commit, brought to you by the Greater Toronto Airport Authority and Czech Airlines. HOC now supports: * Marshalling of exceptions NSExceptions get marshalled into Haskell exceptions that can be caught using Foundation.NSException.catchNS. Haskell exceptions get wrapped in a (private) subclass of NSException and marshalled back if they re-enter Haskell land. * importing of extern constants $(declareExternConst "NSDeviceRGBColorSpace" [t| NSString () |]) * importing of global functions (e.g. NSRectFill) using HOC marshalling: $(declareExternFun "NSRectFill" [t| NSRect -> IO () |]) * ifgen generates constant & function declarations automatically from Foundation and AppKit headers. Index: config.mk.in =================================================================== RCS file: /cvsroot/hoc/hoc/config.mk.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- config.mk.in 19 May 2004 16:06:03 -0000 1.5 +++ config.mk.in 27 Sep 2005 11:55:22 -0000 1.6 @@ -31,3 +31,4 @@ mkdir -p "$(dist_dir)/$(dist_srcdir)" cp -R $(dist_FILES) "$(dist_dir)/$(dist_srcdir)" +CFLAGS+= -I$(GHC_LIB_PATH)/include |