cvs commit: hugs98/src storage.c storage.h static.c machdep.c
connect.h
Sigbjorn Finne
sof@galois.com
Mon, 3 Feb 2003 07:23:59 -0800
"Ross Paterson" <ross@soi.city.ac.uk> writes:
>
...
>
> But I don't understand how the API versioning works, when the version
> is selected by the interpreter rather than the DLL.
>
Modules that have 'primitive'-based extension DLLs associated with them
are required to use a 'needPrims_hugs <api version>' declaration to signal
its loading. That version number is all that's needed.
This doesn't deal with extension DLLs generated by the new FFI,
where the interpreter simply assumes a specific version number.
There aren't too many of those DLLs floating about (yet), which is
why I mentioned that these will simply have to be re-compiled for
now. The DLL external interface will have to be extended to also
convey what HugsAPI version number the exported primitives
assume.
---sigbjorn