Skip to content

Commit 42c07df

Browse files
committed
trusty: Add intptr_t and uintptr_t
Other platforms export these types, so update Trusty to do so as well.
1 parent e1d85d5 commit 42c07df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/trusty.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ pub type c_int16_t = i16;
4343
pub type c_int32_t = i32;
4444
pub type c_int64_t = i64;
4545

46+
pub type intptr_t = isize;
47+
pub type uintptr_t = usize;
48+
4649
pub type c_float = f32;
4750
pub type c_double = f64;
4851

0 commit comments

Comments
 (0)