rstsr_lapack_ffi/lapack/
ffi_base.rs

1//! Base of current FFI.
2//!
3//! Declaration of types, enums, cargo feature controls, etc.
4//!
5//! This file is generated automatically.
6
7pub(crate) use core::ffi::*;
8pub use rstsr_cblas_base::*;
9
10/* automatically generated by rust-bindgen 0.71.1 */
11
12#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
13#[repr(C)]
14pub struct __BindgenComplex<T> {
15    pub re: T,
16    pub im: T,
17}
18
19pub type lapack_float_return = f32;
20pub type LAPACK_S_SELECT2 = Option<extern "C" fn(arg1: *const f32, arg2: *const f32) -> lapack_int>;
21pub type LAPACK_S_SELECT3 =
22    Option<extern "C" fn(arg1: *const f32, arg2: *const f32, arg3: *const f32) -> lapack_int>;
23pub type LAPACK_D_SELECT2 = Option<extern "C" fn(arg1: *const f64, arg2: *const f64) -> lapack_int>;
24pub type LAPACK_D_SELECT3 =
25    Option<extern "C" fn(arg1: *const f64, arg2: *const f64, arg3: *const f64) -> lapack_int>;
26pub type LAPACK_C_SELECT1 = Option<extern "C" fn(arg1: *const __BindgenComplex<f32>) -> lapack_int>;
27pub type LAPACK_C_SELECT2 = Option<
28    extern "C" fn(
29        arg1: *const __BindgenComplex<f32>,
30        arg2: *const __BindgenComplex<f32>,
31    ) -> lapack_int,
32>;
33pub type LAPACK_Z_SELECT1 = Option<extern "C" fn(arg1: *const __BindgenComplex<f64>) -> lapack_int>;
34pub type LAPACK_Z_SELECT2 = Option<
35    extern "C" fn(
36        arg1: *const __BindgenComplex<f64>,
37        arg2: *const __BindgenComplex<f64>,
38    ) -> lapack_int,
39>;