Contents

cffi 1.17.1

0

Foreign Function Interface for Python calling C code.

Foreign Function Interface for Python calling C code.

Stars: 434, Watchers: 434, Forks: 132, Open Issues: 164

The cffi/cffi repo was created 13 years ago and the last code push was 2 months ago.
The project is popular with 434 github stars!

How to Install cffi

You can install cffi using pip

pip install cffi

or add it to a project with poetry

poetry add cffi

Package Details

Author
Armin Rigo, Maciej Fijalkowski
License
MIT
Homepage
http://cffi.readthedocs.org
PyPi:
https://pypi.org/project/cffi/
Documentation:
http://cffi.readthedocs.org/
GitHub Repo:
https://github.com/cffi/cffi

Classifiers

No  cffi  pypi packages just yet.

Errors

A list of common cffi errors.

Code Examples

Here are some cffi code examples and snippets.

GitHub Issues

The cffi package has 164 open issues on GitHub

  • Handle numbers correctly in CFFI-GROVEL::C-WRITE
  • evaluated load clauses
  • TEST-STATIC-PROGRAM fails in linking
  • libffi pointers become stale in image save/restore cycle
  • Struct assignment from plist calls convert-to-foreign twice
  • Passing Structs by Value using cffi-libffi doesn't work well
  • ql:local-project-directories is not forwarded in static-image-op's perform
  • cffi-libffi fails to compile on aarch64 due to missing FFI_UNIX64
  • Bad conversion of an array contained in a C struct
  • DEFCTYPE alias for struct skips type translations
  • Shouldn't test the result of foreign-free, because it is undefined
  • Couldn't execute "lib" during static-program-op
  • cffi-wrapper-file causes unnecessary recompilation of generated lisp files
  • Unable to pass a foreign structure by value to a variadic argument function
  • Support for querying foreign type designators

See more issues on GitHub