patch applied (hat): Fixed prototype generation for functions returning a FunPtr, e.g.:

10 Oct
2006
10 Oct
'06
7:27 a.m.
Sat Jun 12 07:20:41 PDT 2004 panne * Fixed prototype generation for functions returning a FunPtr, e.g.: foreign import ccall unsafe "foo" foo :: CString -> IO (FunPtr a) The former prototype was: extern NodePtr(*)() foo(void*); but this is not really C, we want: extern NodePtr(*foo(void*))(); The fix could probably need some review & cleanup => Malcolm? :-) M ./src/compiler98/Foreign.hs +6
6801
Age (days ago)
6801
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace