1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#![doc(html_root_url = "https://sfackler.github.io/rstack/doc")]
#![allow(bad_style)]

pub use crate::dwarf::*;
pub use crate::elfutils::*;
pub use crate::libelf::*;

macro_rules! c_enum {
    ($name:ident { $($variant:ident = $value:expr,)*}) => {
        pub type $name = libc::c_uint;

        $(
            pub const $variant: $name = $value;
        )*
    }
}

mod dwarf;
mod elfutils;
mod libelf;