Skip to content

Commit

Permalink
Fix tests, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
h33p committed Dec 26, 2021
1 parent 7d9147d commit acef6ff
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CGlue changelog

## Changes in 0.2.4:

[Make cglue generated exports easier to import](https://github.com/h33p/cglue/commit/788fbce9c584e699a56bd5a16d405d52e2119714):

- `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](https://github.com/h33p/cglue/commit/fd549808f6f3bb0477bd394831d4e8dd599c757c).

[Compatible with official abi\_stable](https://github.com/h33p/cglue/commit/7d9147df560412a49ab767928a2c6fcbc72bff2b):

- 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](https://github.com/h33p/cglue/commit/dd86a2145bceb48075f560f69c10686e71634756):
Expand Down
2 changes: 1 addition & 1 deletion cglue/src/tests/generics/associated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use super::super::simple::structs::*;
use super::super::simple::trait_defs::*;
use super::groups::*;
use super::param::*;
use crate::trait_group::c_void;
use cglue_macro::*;
use core::ffi::c_void;

#[cglue_trait]
pub trait AssociatedReturn {
Expand Down

0 comments on commit acef6ff

Please sign in to comment.