Releases: sdilts/cl-bindgen
Releases · sdilts/cl-bindgen
Release v1.6.0
Potentially Breaking Changes
- cl-bindgen now requires clang 19 or higher
- cl-bindgen no longer specifies a dependency on clang; since the python
bindings version must match your system version, this makes it easier
to install but adds an additional setup step.
New Features
- Add ability to specify which functions should return
:stringinstead
ofchar*
Bug Fixes
- Only emit the required number of forward declarations instead of
adding a new one every time a forward declaration is encountered. - Correctly handle underscores in enum names
- Fix logic in pointer expansion rules
Release v1.5.0
New Features
- Add ability to emit inline declarations for functions based on the
same mechanism as pointer expansion - Add ability to convert hex literals to CL literals when processing
macros
Bug Fixes
- Fix incorrect function names
- Properly handle typedef-ed function prototypes instead of crashing
- Update documentation
Release v1.4.3
Enhancements:
- (experimental): You can now specify more than one regex
to match against types that expand to pointers
Bug Fixes:
- Fix handling nested anonymous records, as long as the version
of libclang that is being used has the right set of features. - Fix how forward declared structures and unions are handled
- Fix handling of c names with capitalization
- Change how system headers are incorporated, which fixes some
setups where a version mismatch between the system headers
and the clang version causes problems.
Release v1.4.2
Bug Fixes
- Make output of type comments use
#| ... |#comments so everything is on the same line. - Fix constant array generation
- CFFI doesn't support this very well, but this is the best we can do right now.
v1.4.1
v1.4.1
New this Release:
- Added ability to specify which pointer types are fully expanded and which ones aren't
Bugfixes
- Typedefs are once again emitted correctly.
- Nested anonymous record types are now handled correctly.
- Fixed default implementation of the
macro_detectorfunction.
Release 1.3.0
Enhancement:
- Header guards are now filtered out by default. You can customize this
behavior with themacro_detectorprocessor option in the API
error: no signature found
Release 1.2.0
New this release
- New option
pkg-confighas been added to batch files. This option callspkg-configand adds the given list of library's required compile flags to the clang arguments
Enhancement:
- The following types known by CFFI are now converted to the corresponding CFFI type instead of another value:
size_tssize_tuintptr_tintptr_tptrdiff_toffset_t
1.1.3
1.1.2
Fixes for this release:
Improve Lispify-ing comments
+ don't remove '*' chars in the middle of comments
+ Remove spurious whitespace at the beginning of each line, but
conserve indentation after that
Fix spelling and grammar in the readme and some comments
Escape quotes in exported comments
+ Fixes issue #2