Skip to content

Commit 16f3f83

Browse files
authored
Make a_type and a_val public fields. (#80)
Following up on #78, make the fields of `Elf_auxv_t` public.
1 parent 7429eaa commit 16f3f83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/elf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ pub const R_RELATIVE: u32 = 23; // `R_ARM_RELATIVE`
247247
#[repr(C)]
248248
#[derive(Clone)]
249249
pub struct Elf_auxv_t {
250-
a_type: usize,
250+
pub a_type: usize,
251251

252252
// Some of the values in the auxv array are pointers, so we make `a_val` a
253253
// pointer, in order to preserve their provenance. For the values which are
254254
// integers, we cast this to `usize`.
255-
a_val: *mut crate::ctypes::c_void,
255+
pub a_val: *mut crate::ctypes::c_void,
256256
}

0 commit comments

Comments
 (0)