Skip to content

Releases: sdilts/cl-bindgen

Release v1.6.0

31 Jan 04:10

Choose a tag to compare

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 :string instead
    of char*

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

04 Jan 02:01

Choose a tag to compare

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

19 Jan 21:40

Choose a tag to compare

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

19 Jan 16:00

Choose a tag to compare

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

19 Oct 01:59

Choose a tag to compare

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_detector function.

Release 1.3.0

04 Oct 03:40

Choose a tag to compare

Enhancement:

  • Header guards are now filtered out by default. You can customize this
    behavior with the macro_detector processor option in the API
    error: no signature found

Release 1.2.0

14 Aug 03:04

Choose a tag to compare

New this release

  • New option pkg-config has been added to batch files. This option calls pkg-config and 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_t
    • ssize_t
    • uintptr_t
    • intptr_t
    • ptrdiff_t
    • offset_t

1.1.3

27 Jan 02:30

Choose a tag to compare

New this release:

  • The clang resource directory is now calculated automatically when using the command line tool.

1.1.2

19 Mar 18:29

Choose a tag to compare

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

1.1.1

27 Feb 02:32

Choose a tag to compare

Bump version to 1.1.1