cvs commit: hugs98/src storage.c storage.h static.c machdep.c connect.h

Ross Paterson ross@soi.city.ac.uk
Mon, 3 Feb 2003 15:00:38 +0000


On Fri, Jan 31, 2003 at 10:36:56PM -0800, Sigbjorn Finne wrote:
> sof         2003/01/31 22:36:56 PST
> 
>   Modified files:
>     src                  storage.c storage.h static.c machdep.c 
>                          connect.h 
>   Log:
>   Backwards compatibility for IO primitives implemented using
>   HugsAPI1-4. IO actions now take a single continuation rather
>   than two, causing the stated arity of IO primitives built
>   with these earlier versions of HugsAPI to be off by one. By
>   keeping track of what IO representation an extension DLL
>   assumes, we adjust the arity of IO primitives when they're
>   added to the name table in storage.c:addPrims().

I am sorry about causing this mess, and appreciate your flexibility.

But I don't understand how the API versioning works, when the version
is selected by the interpreter rather than the DLL.

Ross