[MLton] Callback to function pointer?
Wesley W. Terpstra
wesley@terpstra.ca
Fri, 15 Jul 2005 12:23:56 +0200
On Thu, Jul 14, 2005 at 11:09:12PM -0400, Matthew Fluet wrote:
> I just mean that _fetch/_store make an nice pair, each with * version.
> There is no _export *, so it makes _import * seem a little out of place.
> I'm just a sucker for symmetry.
Me too.
You'll recall this thread started when I asked for _export *. ;-)
> > If it is possible to get away with no C other than linking the library, I
> > think this has some benefit, maybe not much.
>
> Agreed, but the question remains: are the C libraries that expect the
> client code to provide a particular exported symbol?
Mostly older libraries.
libc-client (an email parsing library) works this way.
However, these days it's pretty rare.
--
Wesley W. Terpstra