[cffi-devel] New foreign library interface
Luís Oliveira
luismbo at gmail.com
Sat Jan 7 19:25:29 UTC 2006
On 2006-jan-07, at 16:52, Frank Goenninger - PRION Consulting wrote:
>> We don't really search for the library ourselves. dlopen() takes
>> care of that for us. It was just an example.
>
> Ah. So, if you want to make dlopen() handle all searching, then
> you'd have to extend the respective environment variable with user-
> supplied search paths. Which brings us to ? Yes, platform-dependent
> putenv() calls or whatever the Lisp implementation's way is to set
> an env var. Or do I misunderstand still somethimng here?
Hmm, I'm not sure what you mean. What happens is that, if dlopen()
can't find the library, we try finding it in one of the directories
in the cffi:*foreign-library-directories* list.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt
More information about the cffi-devel
mailing list