[cffi-devel] Set :dlopen-flags to :global-lazy in %load-foreign-library in lispworks?
Martin Simmons
martin at lispworks.com
Tue May 19 20:55:47 UTC 2009
>>>>> On Mon, 18 May 2009 10:26:57 +0900, John Fremlin said:
>
> Martin Simmons <martin at lispworks.com> writes:
> [...]
> > Ah, I see.
> >
> > Another way around this problem is to make a dummy library (using ld) that
> > references the others and load the dummy library first.
> >
> > I don't like the idea of setting :dlopen-flags to :global-lazy because it
> > breaks situations where the same symbol is defined in more than one library.
>
> That's all very well, but as other Lisps (SBCL, Allegro, etc.) with CFFI
> load-foreign-library use global binding, why should Lispworks be the
> exception?
It is up to CFFI maintainers what they decide, but we have found local to be
more useful than global.
I can't comment on other implmentations...
--
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/
More information about the cffi-devel
mailing list