You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: change CFFI writer default output extension from .py to .cdef.txt (#45)
* fix: change CFFI writer default output extension from .py to .cdef.txt
CFFI writer output is C declarations for ffi.cdef(), not Python code.
Using .py was misleading. Updated default_output_pattern and all docs
to use .cdef.txt, consistent with cffi_buildtool's read-sources mode.
* fix: use C-style comments in CFFI writer hash_comment_format
pycparser does not support shell-style # comments, so cache metadata
prepended to .cdef.txt output should use // instead.
* fix: use C89-compatible /* */ comments in CFFI hash_comment_format
pycparser may run in C89 mode where // is not supported.
headerkit also ships a PEP 517 build backend. Consumer projects declare it in `pyproject.toml` and get bindings generated automatically during `pip install` or `python -m build`, with no libclang required when the cache is committed:
0 commit comments