[cvs-nhc98] cvs commit: nhc98/src/compiler98 Foreign.hs
Malcolm Wallace
malcolm@glass.cse.ogi.edu
Mon, 16 Jun 2003 06:43:04 -0700
malcolm 2003/06/16 06:43:04 PDT
Modified files:
src/compiler98 Foreign.hs
Log:
Improvements to the FFI. Translate the FunPtr type into the correct
prototypes on the C side, i.e. as a pointer to a function with the
named argument and result types. This refinement makes it possible
to implement "foreign import dynamic", which is also contained in
this commit.
Revision Changes Path
1.25 +51 -53 nhc98/src/compiler98/Foreign.hs