Next: define-foreign-library, Previous: close-foreign-library, Up: Libraries [Contents][Index]
A list, in which each element is a string, a pathname, or a simple Lisp expression.
A list containing the following, in order: an expression corresponding
to Darwin path ~/Library/Frameworks/,
#P"/Library/Frameworks/"
, and
#P"/System/Library/Frameworks/"
.
The meaning of “simple Lisp expression” is explained in *foreign-library-directories*. In contrast to that variable, this is not a fallback search path; the default value described above is intended to be a reasonably complete search path on Darwin systems.
CFFI> (let ((lib (load-foreign-library '(:framework "OpenGL"))))
(foreign-library-pathname lib))
⇒ #P"/System/Library/Frameworks/OpenGL.framework/OpenGL"