Releases: mozilla/cbindgen
Releases · mozilla/cbindgen
v0.14.1
v0.14.0
v0.13.2
* 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
v0.13.0
* 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
v0.12.1
* 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
* 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