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