Skip to content

Commit

Permalink
chore: use Repr C
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Mar 21, 2024
1 parent 7a200b0 commit 7b69858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "re_set-lib"
version = "2.9.1"
version = "2.9.2"
edition = "2021"
description = "Data structure library for ReSet"
repository = "https://github.com/Xetibo/ReSet-Lib"
Expand Down
1 change: 1 addition & 0 deletions src/utils/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ impl_variant_copy! { A B C D E F G H I J K }
impl_variant_copy! { A B C D E F G H I J K L }

#[derive(Debug)]
#[repr(C)]
pub struct Variant {
value: Box<dyn TVariant>,
kind: TypeId,
Expand Down

0 comments on commit 7b69858

Please sign in to comment.