Skip to content

Commit

Permalink
Add repr(C) to i256 (#5837)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jun 3, 2024
1 parent 176a2d7 commit ce1a8fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arrow-buffer/src/bigint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ enum DivRemError {
/// A signed 256-bit integer
#[allow(non_camel_case_types)]
#[derive(Copy, Clone, Default, Eq, PartialEq, Hash)]
#[repr(C)]
pub struct i256 {
low: u128,
high: i128,
Expand Down

0 comments on commit ce1a8fc

Please sign in to comment.