Export struct siginfo
This commit is contained in:
@@ -20,7 +20,7 @@ pub type elf_gregset_t = [c_ulong; 34];
|
||||
pub type elf_fpregset_t = user_fpsimd_struct;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_aarch64_user(
|
||||
pub extern "C" fn _cbindgen_export_aarch64_user(
|
||||
a: user_regs_struct,
|
||||
b: user_fpsimd_struct,
|
||||
c: elf_gregset_t,
|
||||
|
||||
@@ -72,7 +72,7 @@ pub struct user {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_x86_user(
|
||||
pub extern "C" fn _cbindgen_export_x86_user(
|
||||
a: user_fpregs_struct,
|
||||
b: user_regs_struct,
|
||||
c: user,
|
||||
|
||||
@@ -944,7 +944,7 @@ pub const R_X86_64_RELATIVE64: usize = 38;
|
||||
pub const R_X86_64_NUM: usize = 39;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn stupid_cbindgen_needs_a_function_that_holds_all_elf_structs(
|
||||
pub extern "C" fn _cbindgen_export_elf(
|
||||
a: Elf32_Ehdr,
|
||||
b: Elf64_Ehdr,
|
||||
c: Elf32_Shdr,
|
||||
|
||||
@@ -33,6 +33,9 @@ pub const SIG_BLOCK: c_int = 0;
|
||||
pub const SIG_UNBLOCK: c_int = 1;
|
||||
pub const SIG_SETMASK: c_int = 2;
|
||||
|
||||
pub const SI_QUEUE: c_int = -1;
|
||||
pub const SI_USER: c_int = 0;
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Debug)]
|
||||
/// cbindgen:ignore
|
||||
@@ -61,6 +64,9 @@ pub struct siginfo {
|
||||
_si_align: [usize; 0],
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _cbindgen_export_siginfo(a: siginfo) {}
|
||||
|
||||
/// cbindgen:ignore
|
||||
pub type sigset_t = c_ulonglong;
|
||||
/// cbindgen:ignore
|
||||
|
||||
@@ -62,7 +62,7 @@ pub type prstatus_t = elf_prstatus;
|
||||
pub type prpsinfo_t = elf_prpsinfo;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_procfs(
|
||||
pub extern "C" fn _cbindgen_export_procfs(
|
||||
a: psaddr_t,
|
||||
b: prgregset_t,
|
||||
c: prfpregset_t,
|
||||
|
||||
Reference in New Issue
Block a user