Skip to content

Commit

Permalink
trusty: Add intptr_t and uintptr_t
Browse files Browse the repository at this point in the history
Other platforms export these types, so update Trusty to do so as well.
  • Loading branch information
tgross35 committed Nov 27, 2024
1 parent 12c8542 commit 6bee30e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/trusty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ pub type c_int16_t = i16;
pub type c_int32_t = i32;
pub type c_int64_t = i64;

pub type intptr_t = isize;
pub type uintptr_t = usize;

pub type c_float = f32;
pub type c_double = f64;

Expand Down

0 comments on commit 6bee30e

Please sign in to comment.