Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> cl-cffi
etiona  ] [  nabia  ] [  aramo  ]
[ Source: cffi  ]

Package: cl-cffi (1:0.21.0-1)

Common Foreign Function Interface for Common Lisp

CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp. The CFFI library is composed of a Lisp-implementation-specific backend in the CFFI-SYS package, and a portable frontend in the CFFI package.

The CFFI-SYS backend package defines a low-level interface to the native FFI support in the Lisp implementation. It offers operators for allocating and dereferencing foreign memory, calling foreign functions, and loading shared libraries. The CFFI frontend provides a declarative interface for defining foreign functions, structures, typedefs, enumerated types. It is implemented in portable ANSI CL making use of the low-level operators exported by CFFI-SYS.

A UFFI compatibility layer is also being developed.

Other Packages Related to cl-cffi

  • depends
  • recommends
  • suggests
  • dep: cl-alexandria
    collection of portable Common Lisp utilities
  • dep: cl-babel
    charset encoding/decoding library for Common Lisp
  • dep: cl-trivial-features
    abstraction layer for the *FEATURES* across Common Lisp implementations
  • dep: gcc
    GNU C compiler
  • dep: libc6-dev
    GNU C Library: Development Libraries and Header Files
    or libc-dev
    virtual package provided by libc6-dev
  • dep: libffi-dev
    Foreign Function Interface library (development files)
  • dep: pkg-config
    manage compile and link flags for libraries

Download cl-cffi

Download for all available architectures
Architecture Package Size Installed Size Files
all 1,636.1 kB2806 kB [list of files]