Liam Healy (lhealy) wrote,
Liam Healy

How to specify foreign libraries

Does this look right to you?
(define-foreign-library frobnicator
  (cffi-features:unix "/usr/lib/"))

If it does, you should read Anton Kovalenko's blog, whether or not you use CFFI. (Reblogging this because the original was evidently not picked up by Planet Lisp.)
Tags: lisp

  • cl-plplot for simple x-y plots from Lisp

    I had need recently to create quick x-y plots on the screen. I have been generating TikZ and PGFplots from Lisp for journal and conference papers…

  • cffi-libffi in latest CFFI release 0.11.0

    A week ago CFFI version 0.11.0 was released. This includes cffi-libffi, which permits calling and returning with structures by value. It replaces an…

  • mem-aref and mem-aptr in CFFI

    The master branch of CFFI has the cffi-libffi system, which permits passing and returning structures by value. As part of that addition, some of the…

  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.