[cvs-nhc98] Parse the new standard FFI "entity" string, and generate m

Malcolm Wallace malcolm@sparud.net
Mon, 9 Sep 2002 15:18:15 +0200 (CEST)


malcolm: Mon Sep  9 15:18:15 CEST 2002

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv15936

Modified Files:
	Foreign.hs 
Log Message:
Parse the new standard FFI "entity" string, and generate marshalling
code according to it.  We now implement the "&" device for taking the
address of a pointer into Haskell.  "dynamic" and "wrapper" are parsed
but not implemented.  The FFI types "Ptr a" and "ForeignPtr a" are
now treated as primitive types in their own right.