mach_sys/
nlist.rs

1//! This module roughly corresponds to `mach-o/nlist.h`.
2
3// because cannot impl Debug for union types.
4#![allow(missing_debug_implementations)]
5
6#[repr(C)]
7#[derive(Copy, Clone)]
8pub struct nlist_64 {
9    pub n_un: nlist_64__bindgen_ty_1,
10    pub n_type: u8,
11    pub n_sect: u8,
12    pub n_desc: u16,
13    pub n_value: u64,
14}
15
16#[repr(C)]
17#[derive(Copy, Clone)]
18pub union nlist_64__bindgen_ty_1 {
19    pub n_strx: u32,
20}
21