cvs commit: hugs98/src HsFFI.h Makefile.in builtin.c machdep.c storage.c storage.h

Sigbjorn Finne sof@galois.com
Fri, 14 Mar 2003 09:24:43 -0800


 "Alastair Reid" <alastair@reid-consulting-uk.ltd.uk> writes:
> 
> > ok. There's quite a bit of HugsAPI2 code still being used and
> > distributed. My preference is that support for it stayed around.
> 
> Really?  Where?  How much?  
> 

Win32 library. SOE. HDirect generated COM client code + libraries.
GC, as released, will output HugsAPI3 decls. HDirect outputs
HugsAPI2. So, pretty much any code generated by either tool
that's out there.

> Does it work with the new hierarchial libraries and with yesterday's
> CVS copy of Hugs (i.e., did it work before my commit)?  
> 

The only thing I've got access to now is the Win32 library, which works
fine (well, sometime ago I had to go through it and use 'fromIntegral'
throughout to do sized Int/Word conversions, as Int and Word dropped
support for a bunch of conversion functions.)

There's little cost in supporting it, hence my suggestion. I wouldn't mind
simply having needPrims() treat 2&3 just like 4.

--sigbjorn