Package: cffi

Variable *darwin-framework-directories*

Initial Value

A list containing the following, in order: an expression corresponding to Darwin path ~/Library/Frameworks/, #P"/Library/Frameworks/", and #P"/System/Library/Frameworks/".

Details

A list, in which each element is a string, a pathname, or a simple Lisp expression.

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.

Examples

  CFFI> (load-foreign-library '(:framework "OpenGL"))
  => #P"/System/Library/Frameworks/OpenGL.framework/OpenGL"  
 

See also