All Versions
43
Latest Version
Avg Release Cycle
23 days
Latest Release
-

Changelog History
Page 3

  • v0.13.2 Changes

    March 21, 2020
     * Constants now have suitable documentation. (#471)
     * Fixed some C warnings by emitting void when there are no arguments. (#470)
     * Avoids reading cargo.toml when not needed, which can cause panics in workspace situations.
     * Only write `default` cases if the switch is not exhaustive. (#475)
     * Some warnings have been refined. (#477)
     * Code generation for static arrays has been fixed. (#479)
     * Opt-in support for constexpr in constants. (#481)
     * Fix C code generation and some warnings when extremely large constants are used. (#490)
     * Proper escaping of enum variants and fields. (#483)
     * Added support for RefCell (as an opaque type) and Cell. (#489)
    
  • v0.13.1 Changes

    February 09, 2020
     * Support `#[cfg]` on individual enum variants. (#469)
    
  • v0.13.0 Changes

    January 31, 2020
     * Support 'swift_name' attributes on generated functions (#449)
     * Add [export.pre_body] to config (#452)
     * Handle new line in doc attribute (#454)
     * Add support for `Self` in tagged enums, structs and unions (#455, #455, #456)
     * Make sentinel variant respect regular config (#459)
     * Fix layout of tagged enums with size under some configurations (#463)
     * Add an option to allow configuring the order of function names in generated headers (#466)
    
  • v0.12.2 Changes

    January 12, 2020
     * Fixed version detection with lockfile v2. https://github.com/eqrion/cbindgen/pull/446
     * Added support for export_name on functions. https://github.com/eqrion/cbindgen/pull/447
    
  • v0.12.1 Changes

    December 30, 2019
     * Added support for #[repr*64)] on enums. https://github.com/eqrion/cbindgen/pull/441
     * Added support to generate plain enums instead of enum classes for C++. https://github.com/eqrion/cbindgen/pull/443
     * Fixed dependency resolution with lockfile v2. https://github.com/eqrion/cbindgen/pull/438
    
  • v0.12.0 Changes

    December 16, 2019
     * Added support for #[repr(align)] and #[repr(packed)] on structs and unions. https://github.com/eqrion/cbindgen/pull/431
     * Added support to generate copy-assignment operators for enums. https://github.com/eqrion/cbindgen/pull/434
    
  • v0.11.1 Changes

    December 08, 2019
     * More binary operators and expressions are supported. https://github.com/eqrion/cbindgen/pull/425
     * More built-in bitflags operators. https://github.com/eqrion/cbindgen/pull/426
    
  • v0.11.0 Changes

    December 03, 2019
     * Made rust char map to uint32_t. https://github.com/eqrion/cbindgen/pull/424
    
  • v0.10.1 Changes

    December 03, 2019
     * Improved error message for missing config file. https://github.com/eqrion/cbindgen/pull/422
     * Add missing header for char32_t. https://github.com/eqrion/cbindgen/pull/414
    
  • v0.10.0 Changes

    November 29, 2019
     * Initialize struct literal with list-initializer for C++11 standard. https://github.com/eqrion/cbindgen/pull/401
     * Surround namespace with __cplusplus ifdef in cpp_compat mode. https://github.com/eqrion/cbindgen/pull/407
     * Add support for --quiet flag. https://github.com/eqrion/cbindgen/pull/400
     * Map char to char32_t. https://github.com/eqrion/cbindgen/pull/396
     * Improve binding_crate_ref() error message. https://github.com/eqrion/cbindgen/pull/395
     * avoid prematurely returning during expansion. https://github.com/eqrion/cbindgen/pull/389
     * Add support for adding "using namespace" statements. https://github.com/eqrion/cbindgen/pull/387