The old CInterface tutorial still exists on the website: https://www.polyml.org/documentation/Tutorials/CInterface.html
The high-level ideas have been carried over into Foreign (e.g. conversions) but the ML names are different now. The lower-level details (e.g. anything involving a 'vol') are no longer relevant. I don't know if that is helpful or confusing. Also, that tutorial doesn't cover many things, e.g. using dynamic linking (as opposed to dynamic loading) and callbacks.
Phil
On 04/03/2025 18:46, David Matthews wrote:
I thought there was something but I can't find it.? There's some sample code in the samplecode/Foreign directory that shows how to use it.
Some of the functions in the signature on the website do have explanations attached.
David
On 04/03/2025 13:27, Gergely Buday wrote:
Hi there,
I have found only the signature FOREIGN:
https://artemis.polyml.org/documentation/Reference/Foreign.xml
but is there an explanation for this somewhere?
- Gergely
polyml mailing list polyml at inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
polyml mailing list polyml at inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml