rstsr_lapack_ffi/lapack/
ffi_base.rs1pub(crate) use core::ffi::c_char;
8
9#[cfg(not(feature = "ilp64"))]
10pub type lapack_int = i32;
11#[cfg(feature = "ilp64")]
12pub type lapack_int = i64;
13
14#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
17#[repr(C)]
18pub struct __BindgenComplex<T> {
19 pub re: T,
20 pub im: T,
21}
22
23pub type lapack_float_return = f32;
24pub type LAPACK_S_SELECT2 = Option<extern "C" fn(arg1: *const f32, arg2: *const f32) -> lapack_int>;
25pub type LAPACK_S_SELECT3 =
26 Option<extern "C" fn(arg1: *const f32, arg2: *const f32, arg3: *const f32) -> lapack_int>;
27pub type LAPACK_D_SELECT2 = Option<extern "C" fn(arg1: *const f64, arg2: *const f64) -> lapack_int>;
28pub type LAPACK_D_SELECT3 =
29 Option<extern "C" fn(arg1: *const f64, arg2: *const f64, arg3: *const f64) -> lapack_int>;
30pub type LAPACK_C_SELECT1 = Option<extern "C" fn(arg1: *const __BindgenComplex<f32>) -> lapack_int>;
31pub type LAPACK_C_SELECT2 = Option<
32 extern "C" fn(
33 arg1: *const __BindgenComplex<f32>,
34 arg2: *const __BindgenComplex<f32>,
35 ) -> lapack_int,
36>;
37pub type LAPACK_Z_SELECT1 = Option<extern "C" fn(arg1: *const __BindgenComplex<f64>) -> lapack_int>;
38pub type LAPACK_Z_SELECT2 = Option<
39 extern "C" fn(
40 arg1: *const __BindgenComplex<f64>,
41 arg2: *const __BindgenComplex<f64>,
42 ) -> lapack_int,
43>;