Skip to content

CGlue 0.2.4

Compare
Choose a tag to compare
@h33p h33p released this 26 Dec 13:49
· 58 commits to main since this release
acef6ff

Changes in 0.2.4:

Make cglue generated exports easier to import:

  • cglue_##trait_or_groupname module is exposed as public that contains all types that are being re-exported to parent module.

  • In the future, these types may not be re-exported anymore, and code generator may rely on cglue_##trait_or_groupname to exist in scope for cleaner code generation.

Add boxed slice, CVec, and add more serde support.

Compatible with official abi_stable:

  • Users should now use cglue::trait_group::c_void as the c_void type.

  • Technically breaks semver, but it is not possible to do anything with c_void anyways.

Changes in 0.2.3:

Make formatting traits FFI-safe:

  • All standard fmt traits are exposed.

  • Only Debug and Display are in the prefix.

  • Not full formatting functionality is preserved across FFI boundary.

Add extra customization to C function impls.