cvs commit: hugs98/lib/exts Storable.hs Storable_aux.c hugs98/src
ffi.c
Alastair Reid
reid@glass.cse.ogi.edu
Fri, 14 Jun 2002 18:12:33 -0700
reid 2002/06/14 18:12:33 PDT
Modified files:
lib/exts Storable.hs Storable_aux.c
src ffi.c
Log:
ffi.c: Generates correct code for CAFs
Storable: Contains instances for all types.
(The alignment field is 1 for all entries. This is because I can't
think of an appropriate piece of code to determine the correct
alignment at runtime. Would sizeof be a conservative guess?)
Revision Changes Path
1.3 +68 -47 hugs98/lib/exts/Storable.hs
1.2 +22 -16 hugs98/lib/exts/Storable_aux.c
1.8 +10 -12 hugs98/src/ffi.c